pub fn status_to_response<'de, T>(
    status: StatusCode,
    text: String
) -> Result<T, ObsError>where
    T: Deserialize<'de>,