adc_toolkit.utils.exceptions
Custom exceptions.
1"""Custom exceptions.""" 2 3 4class ValidationError(Exception): 5 """Raised when a validation check fails.""" 6 7 8class ExpectationSuiteNotFoundError(Exception): 9 """Raised when an expectation suite is not found.""" 10 11 12class InvalidExpectationDictionaryError(Exception): 13 """Raised when an expectation dictionary is invalid.""" 14 15 16class InvalidExpectationNameTypeError(Exception): 17 """Raised when type of expectation name is invalid.""" 18 19 20class InvalidExpectationKwargsTypeError(Exception): 21 """Raised when type of expectation kwargs is invalid."""
class
ValidationError(builtins.Exception):
Raised when a validation check fails.
class
ExpectationSuiteNotFoundError(builtins.Exception):
9class ExpectationSuiteNotFoundError(Exception): 10 """Raised when an expectation suite is not found."""
Raised when an expectation suite is not found.
class
InvalidExpectationDictionaryError(builtins.Exception):
13class InvalidExpectationDictionaryError(Exception): 14 """Raised when an expectation dictionary is invalid."""
Raised when an expectation dictionary is invalid.
class
InvalidExpectationNameTypeError(builtins.Exception):
17class InvalidExpectationNameTypeError(Exception): 18 """Raised when type of expectation name is invalid."""
Raised when type of expectation name is invalid.
class
InvalidExpectationKwargsTypeError(builtins.Exception):
21class InvalidExpectationKwargsTypeError(Exception): 22 """Raised when type of expectation kwargs is invalid."""
Raised when type of expectation kwargs is invalid.