neoscore.core.exceptions
All custom exceptions used throughout neoscore.
- exception neoscore.core.exceptions.MusicFontMetadataNotFoundError[source]
Bases:
Exception
Exception raised when metadata for a music font can’t be found.
- exception neoscore.core.exceptions.MusicFontGlyphNotFoundError[source]
Bases:
Exception
Exception raised when a glyph cannot be found in a MusicFont
- exception neoscore.core.exceptions.NoClefError[source]
Bases:
Exception
Exception raised when no clef is present in a Staff where needed
- exception neoscore.core.exceptions.NoAncestorStaffError[source]
Bases:
Exception
Exception raised when a StaffObject does not have an ancestor Staff
- exception neoscore.core.exceptions.DynamicStringError[source]
Bases:
Exception
Exception raised when a dynamic string cannot be parsed.
- exception neoscore.core.exceptions.NoFlagNeededError[source]
Bases:
Exception
Exception raised when a Flag is created with a non-flaggable duration
- exception neoscore.core.exceptions.FontRegistrationError[source]
Bases:
Exception
Exception raised when a font is loaded from disk unsuccessfully.
- exception neoscore.core.exceptions.UnknownFontFamilyError[source]
Bases:
Exception
Exception raised when an invalid font name is passed to a FontInterface.
- exception neoscore.core.exceptions.ColorBoundsError[source]
Bases:
Exception
Exception raised when a color channel is set out of bounds
- exception neoscore.core.exceptions.InvalidIntervalError[source]
Bases:
Exception
An exception raised when an invalid interval specifier is used.
- exception neoscore.core.exceptions.InvalidPitchDescriptionError[source]
Bases:
Exception
An exception raised when an invalid pitch specifier is used.
- exception neoscore.core.exceptions.InvalidImageFormatError[source]
Bases:
Exception
Raised when an image format cannot be determined.
- exception neoscore.core.exceptions.ImageExportError[source]
Bases:
Exception
Raised when low level image export fails.