Files
kittycad.py/kittycad/models/error_code.py
Jess Frazelle 9921f5a9f3 Update api spec (#124)
* YOYO NEW API SPEC!

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* tuples

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates;

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-17 12:48:13 -07:00

14 lines
388 B
Python

from enum import Enum
class ErrorCode(str, Enum):
"""The type of errorcode.""" # noqa: E501
"""# User requested something impossible or invalid """ # noqa: E501
BAD_REQUEST = "bad_request"
"""# Engine failed to complete request, consider retrying """ # noqa: E501
INTERNAL_ENGINE = "internal_engine"
def __str__(self) -> str:
return str(self.value)