Module markov.exceptions.exceptions

Classes

class DeprecationError (*args, **kwargs)

Thrown when required to throw error instead of warning on deprecation

Ancestors

  • builtins.DeprecationWarning
  • builtins.Warning
  • builtins.Exception
  • builtins.BaseException
class DuplicateNameException (msg)

Raises with Names are duplicate

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidAccessException (msg='The current user does not have access to the requested resource')

Common base class for all non-exit exceptions.

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidInputException (msg='This function received an invalid input')

Raised when input to a function is invalid

Ancestors

  • builtins.Exception
  • builtins.BaseException
class MarkovMLCommandError (command_name: str, error_code: str, additional_message: str = '')

Common base class for all non-exit exceptions.

Ancestors

  • builtins.Exception
  • builtins.BaseException
class NotRegisteredRecorderException (msg='This recorder is not registered with MarkovML. Please check if you have called `.register()` on the recorder instance')

Common base class for all non-exit exceptions.

Ancestors

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

Raised when input is valid but is currently not supported

Ancestors

  • builtins.Exception
  • builtins.BaseException
class RegistrationException (msg: str = 'Registration failed')

Raised when there is an error in registration of a markov entity

Ancestors

  • builtins.Exception
  • builtins.BaseException
class ResourceNotFoundException (msg='Requested resource not found.')

Base class for I/O related errors.

Ancestors

  • builtins.OSError
  • builtins.Exception
  • builtins.BaseException
class UnsupportedException (msg: str)

Raised when a particular feature is not currently supported.

Ancestors

  • builtins.Exception
  • builtins.BaseException
class UploadException (msg: str = 'Upload Failed')

Raised when there is an error in uploading data to markov backend

Ancestors

  • builtins.Exception
  • builtins.BaseException