Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"""Key type is invalid or unrecognized."""
class MalformedDataException(InvalidKeyError):
"""The key is invalid - unable to parse the data. The data may be corrupted, truncated, or includes extra content that is not allowed."""
class MalformedDataError(MalformedDataException):
"""The key is invalid - unable to parse the data. The data may be corrupted, truncated, or includes extra content that is not allowed."""
class InvalidOptionsException(MalformedDataError):
"""Options string is invalid: it contains invalid characters, unrecognized options, or is otherwise malformed."""
class InvalidOptionsError(InvalidOptionsException):
"""Options string is invalid: it contains invalid characters, unrecognized options, or is otherwise malformed."""
class InvalidOptionNameException(InvalidOptionsError):
"""Invalid option name (contains disallowed characters, or is unrecognized.)."""
class InvalidOptionNameError(InvalidOptionNameException):
"""Invalid option name (contains disallowed characters, or is unrecognized.)."""
class UnknownOptionNameException(InvalidOptionsError):
"""Unrecognized option name."""
class UnknownOptionNameError(UnknownOptionNameException):