Skip to content

Module preconvert.exceptions

Defines all exceptions that can be thrown by the preconvert project

Classes

Error
class (
    *args,
    **kwargs
)

Base class for exceptions thrown from the preconvert project

Ancestors (in MRO)

  • builtins.Exception
  • builtins.BaseException

Descendants

  • preconvert.exceptions.ExistingConverter
  • preconvert.exceptions.Unconvertable
ExistingConverter
class (
    kind,
    existing,
    new
)

Should be raised when a converter already exists for a specified type

Ancestors (in MRO)

  • preconvert.exceptions.Error
  • builtins.Exception
  • builtins.BaseException
Unconvertable
class (
    item
)

Raised when the provided item is not convertable using the provided converter(s)

Ancestors (in MRO)

  • preconvert.exceptions.Error
  • builtins.Exception
  • builtins.BaseException