gilly/openapi/error
Types
pub type Error {
JsonError(inner: json.DecodeError)
UnsupportedVersion(version: String)
ParseError(inner: List(decode.DecodeError))
}
Constructors
-
JsonError(inner: json.DecodeError)An error occurred while parsing the OpenAPI JSON.
-
UnsupportedVersion(version: String)The version of the OpenAPI specification is not supported by this library.
-
ParseError(inner: List(decode.DecodeError))The OpenAPI specification could not be decoded into the expected structure.
Values
pub fn describe_error(error: Error) -> String