Module thingiverse.types.exceptions

Expand source code
class SearchException(Exception):
    """Used when something went wrong when searching"""
    pass


class ThingiverseException(Exception):
    """Used when a general error happens"""
    pass


class UnathenticatedException(Exception):
    """Used when user is unathenticated"""
    pass


class ResourceNotFound(Exception):
    """Used when a resource like a Thing isn't found"""
    pass


class UserException(Exception):
    """Used when something went wrong when searching"""
    pass

Classes

class ResourceNotFound (*args, **kwargs)

Used when a resource like a Thing isn't found

Expand source code
class ResourceNotFound(Exception):
    """Used when a resource like a Thing isn't found"""
    pass

Ancestors

  • builtins.Exception
  • builtins.BaseException
class SearchException (*args, **kwargs)

Used when something went wrong when searching

Expand source code
class SearchException(Exception):
    """Used when something went wrong when searching"""
    pass

Ancestors

  • builtins.Exception
  • builtins.BaseException
class ThingiverseException (*args, **kwargs)

Used when a general error happens

Expand source code
class ThingiverseException(Exception):
    """Used when a general error happens"""
    pass

Ancestors

  • builtins.Exception
  • builtins.BaseException
class UnathenticatedException (*args, **kwargs)

Used when user is unathenticated

Expand source code
class UnathenticatedException(Exception):
    """Used when user is unathenticated"""
    pass

Ancestors

  • builtins.Exception
  • builtins.BaseException
class UserException (*args, **kwargs)

Used when something went wrong when searching

Expand source code
class UserException(Exception):
    """Used when something went wrong when searching"""
    pass

Ancestors

  • builtins.Exception
  • builtins.BaseException