Skip to content

Exceptions

Auto-generated documentation for musicalgestures._exceptions module.

Typed exception hierarchy for MGT-python.

All library-specific errors inherit from class MgError so that callers can catch any toolbox error with a single except MgError.

MgDependencyError

[find in source code]

class MgDependencyError(MgError):

Raised when an optional dependency is not installed.

See also

MgError

[find in source code]

class MgError(Exception):

Base class for all MGT-python exceptions.

MgIOError

[find in source code]

class MgIOError(MgError):

Raised for file I/O failures (missing files, permission errors, etc.).

See also

MgInputError

[find in source code]

class MgInputError(MgError):

Raised when a user-supplied argument is invalid.

See also

MgProcessingError

[find in source code]

class MgProcessingError(MgError):

Raised when a processing step fails unexpectedly.

See also