Error Class

Common error representation.

Inheritance
Error

Constructor

Error(*, code: typing.Union[str, NoneType] = None, message: typing.Union[str, NoneType] = None, target: typing.Union[str, NoneType] = None, details: typing.Union[typing.List[_ForwardRef('ErrorDetails')], NoneType] = None, inner_error: typing.Union[str, NoneType] = None, **kwargs)

Parameters

code
str

Error code.

message
str

Error message.

target
str

Error target.

details
list[ErrorDetails]

Error details.

inner_error
str

Inner error message.