Needs docstring (see other error classes for examples).