Generic classes used in the context of error handling.