Module dirct.exceptions

Classes

class AmbiguityError (*args, **kwargs)

Raised when multiple files match a key.

Ancestors

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

Raised when the contents of __self__.* is invalid.

Ancestors

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

Raised when multiple __self__.* files exist.

Ancestors

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

Raise this from a loader to indicate that it doesn't support the given file and the next loader should be tried instead.

Ancestors

  • builtins.Exception
  • builtins.BaseException