kittycad.models.error
Classes
|
Error information from a response. |
- class kittycad.models.error.Error(error_code=<kittycad.types.Unset object>, message=<kittycad.types.Unset object>, request_id=<kittycad.types.Unset object>)[source][source]
Error information from a response.
Method generated by attrs for class Error.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'error_code': typing.Union[kittycad.types.Unset, str], 'message': typing.Union[kittycad.types.Unset, str], 'request_id': typing.Union[kittycad.types.Unset, str]}[source]
- __attrs_attrs__ = (Attribute(name='error_code', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='error_code'), Attribute(name='message', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='message'), Attribute(name='request_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='request_id'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.error', '__annotations__': {'error_code': typing.Union[kittycad.types.Unset, str], 'message': typing.Union[kittycad.types.Unset, str], 'request_id': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Error information from a response.', 'to_dict': <function Error.to_dict>, 'from_dict': <classmethod(<function Error.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Error.__getitem__>, '__setitem__': <function Error.__setitem__>, '__delitem__': <function Error.__delitem__>, '__contains__': <function Error.__contains__>, '__dict__': <attribute '__dict__' of 'Error' objects>, '__weakref__': <attribute '__weakref__' of 'Error' objects>, '__attrs_attrs__': (Attribute(name='error_code', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='error_code'), Attribute(name='message', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='message'), Attribute(name='request_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='request_id'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function Error.__repr__>, '__eq__': <function Error.__eq__>, '__ne__': <function Error.__ne__>, '__lt__': <function Error.__lt__>, '__le__': <function Error.__le__>, '__gt__': <function Error.__gt__>, '__ge__': <function Error.__ge__>, '__hash__': None, '__init__': <function Error.__init__>, '__match_args__': ('error_code', 'message', 'request_id')})[source]