class DomainError(Exception): """Base domain error."""