Source code for triad.exceptions [docs] class NoneArgumentError(ValueError): """Exception on None argument""" def __init__(self, message: str): super().__init__(message) [docs] class InvalidOperationError(Exception): """Exception on invalid operations""" def __init__(self, message: str = ""): super().__init__(message)