mcfonts.exceptions

General exceptions.

Module Contents

exception mcfonts.exceptions.CharacterPaddingError

Bases: ExportError

Raised when a requested character is in mcfonts.constants.PADDING_CHARS.

Initialize self. See help(type(self)) for accurate signature.

exception mcfonts.exceptions.ExportError

Bases: Exception

Base parent class for all exceptions that may be raised when exporting a provider's characters.

Initialize self. See help(type(self)) for accurate signature.

exception mcfonts.exceptions.GlyphLimitError

Bases: Exception

Raised when a font has 65,535 characters allocated and that no more can be added.

Initialize self. See help(type(self)) for accurate signature.

exception mcfonts.exceptions.ProviderError

Bases: Exception

Raised when a mcfonts.providers.base.Provider is expected but not found.

Initialize self. See help(type(self)) for accurate signature.

exception mcfonts.exceptions.ReferenceChildError

Bases: Exception

Raised when another reference provider is given as the child provider for a reference provider.

Initialize self. See help(type(self)) for accurate signature.

exception mcfonts.exceptions.ResourceError

Bases: ExportError

Raised when a resource is expected but does not exist.

Initialize self. See help(type(self)) for accurate signature.


Last update: 2023 November 30