Function tozny_auth::protocol::error_response
[-] [+]
[src]
pub fn error_response(json: &Json) -> Option<&Json>
Extracts error messages from a Tozny API response.
pub fn error_response(json: &Json) -> Option<&Json>
Extracts error messages from a Tozny API response.
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).