kittycad.models.modeling_error
Classes
|
Why a command submitted to the Modeling API failed. |
- class kittycad.models.modeling_error.ModelingError(error_code=<kittycad.types.Unset object>, external_message=<kittycad.types.Unset object>, internal_message=<kittycad.types.Unset object>, status_code=<kittycad.types.Unset object>)[source][source]
Why a command submitted to the Modeling API failed.
Method generated by attrs for class ModelingError.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'error_code': typing.Union[kittycad.types.Unset, str], 'external_message': typing.Union[kittycad.types.Unset, str], 'internal_message': typing.Union[kittycad.types.Unset, str], 'status_code': typing.Union[kittycad.types.Unset, int]}[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='external_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='external_message'), Attribute(name='internal_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='internal_message'), Attribute(name='status_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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='status_code'), 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.modeling_error', '__annotations__': {'error_code': typing.Union[kittycad.types.Unset, str], 'external_message': typing.Union[kittycad.types.Unset, str], 'internal_message': typing.Union[kittycad.types.Unset, str], 'status_code': typing.Union[kittycad.types.Unset, int], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Why a command submitted to the Modeling API failed.', 'to_dict': <function ModelingError.to_dict>, 'from_dict': <classmethod(<function ModelingError.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function ModelingError.__getitem__>, '__setitem__': <function ModelingError.__setitem__>, '__delitem__': <function ModelingError.__delitem__>, '__contains__': <function ModelingError.__contains__>, '__dict__': <attribute '__dict__' of 'ModelingError' objects>, '__weakref__': <attribute '__weakref__' of 'ModelingError' 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='external_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='external_message'), Attribute(name='internal_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='internal_message'), Attribute(name='status_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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='status_code'), 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 ModelingError.__repr__>, '__eq__': <function ModelingError.__eq__>, '__ne__': <function ModelingError.__ne__>, '__lt__': <function ModelingError.__lt__>, '__le__': <function ModelingError.__le__>, '__gt__': <function ModelingError.__gt__>, '__ge__': <function ModelingError.__ge__>, '__hash__': None, '__init__': <function ModelingError.__init__>, '__match_args__': ('error_code', 'external_message', 'internal_message', 'status_code')})[source]