runzero.types.errors#

errors provides named exception types for working with or derived from runZero’s data model types.

Module Contents#

Classes#

RFC7807Error

RFC7807Error is a named Exception class representing json error details messages.

class runzero.types.errors.RFC7807Error[source]#

Bases: runzero.types._data_models_gen.Problem

RFC7807Error is a named Exception class representing json error details messages.

detail: str | None#

A human readable explanation specific to this occurrence of the problem that is helpful to locate the problem and give advice on how to proceed. Written in English and readable for engineers, usually not suited for non technical stakeholders and not localized.

status: int | None#

The HTTP status code generated by the origin server for this occurrence of the problem.

title: str | None#

A short summary of the problem type. Written in English and readable for engineers, usually not suited for non technical stakeholders and not localized.