roam/20210225144943-openapi_core_exceptions.org

28 lines
1 KiB
Org Mode
Raw Permalink Normal View History

2021-07-29 22:51:04 +00:00
:PROPERTIES:
:ID: af2f1d65-b89d-41c7-87f4-cb8ad7c3d5ca
:END:
2021-03-08 23:28:27 +00:00
#+title: OpenAPI Core Exceptions
2021-07-29 22:51:04 +00:00
Diagram of the exceptions in the [[id:ca88b99d-cc12-4595-ba14-c567db34d3b6][OpenAPI Core]] library.
2021-03-08 23:28:27 +00:00
#+begin_src dot :file openapi-core-exceptions.svg
digraph {
# openapi-core/openapi_core/casting/schemas/exceptions.py
OpenAPIError -> CastError
# openapi-core/openapi_core/deserializing/exceptions.py
OpenAPIError -> DeserializeError
# openapi-core/openapi_core/deserializing/parameters/exceptions.py
DeserializeError -> EmptyParameterValue
# openapi-core/openapi_core/unmarshalling/schemas/exceptions.py
OpenAPIError -> UnmarshalError
UnmarshalError -> ValidateError
UnmarshalError -> UnmarshallerError
ValidateError -> InvalidSchemaValue
UnmarshallerError -> InvalidSchemaFormatValue
UnmarshallerError -> FormatterNotFoundError
}
#+end_src
#+RESULTS:
[[file:openapi-core-exceptions.svg]]