Module push_to_3yourmind.exceptions
Exception classes raised by the client library
Expand source code
"""
Exception classes raised by the client library
"""
class BasePushTo3YourmindAPIException(Exception):
"""
Base exception class for all exceptions raised by push_to_3yourmind
"""
class ObjectNotFound(BasePushTo3YourmindAPIException):
pass
class Unauthorized(BasePushTo3YourmindAPIException):
pass
class AccessDenied(BasePushTo3YourmindAPIException):
pass
class BadRequest(BasePushTo3YourmindAPIException):
pass
class MethodNotAllowed(BasePushTo3YourmindAPIException):
pass
class ServerError(BasePushTo3YourmindAPIException):
pass
class BadArgument(BasePushTo3YourmindAPIException):
pass
class MaterialNotFound(BasePushTo3YourmindAPIException):
pass
class PostProcessingNotFound(BasePushTo3YourmindAPIException):
pass
class SupplierNotFound(BasePushTo3YourmindAPIException):
pass
class FileAnalysisError(BasePushTo3YourmindAPIException):
pass
class CADFileNotFoundError(BasePushTo3YourmindAPIException):
pass
Classes
class BasePushTo3YourmindAPIException (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class BasePushTo3YourmindAPIException(Exception): """ Base exception class for all exceptions raised by push_to_3yourmind """
Ancestors
- builtins.Exception
- builtins.BaseException
Subclasses
class ObjectNotFound (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class ObjectNotFound(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class Unauthorized(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException
class AccessDenied (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class AccessDenied(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException
class BadRequest (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class BadRequest(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException
class MethodNotAllowed (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class MethodNotAllowed(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException
class ServerError (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class ServerError(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException
class BadArgument (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class BadArgument(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException
class MaterialNotFound (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class MaterialNotFound(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException
class PostProcessingNotFound (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class PostProcessingNotFound(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException
class SupplierNotFound (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class SupplierNotFound(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException
class FileAnalysisError (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class FileAnalysisError(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException
class CADFileNotFoundError (*args, **kwargs)
-
Base exception class for all exceptions raised by push_to_3yourmind
Expand source code
class CADFileNotFoundError(BasePushTo3YourmindAPIException): pass
Ancestors
- BasePushTo3YourmindAPIException
- builtins.Exception
- builtins.BaseException