# Functions
New creates a brand new HTTPError object.
NewAggregate converts a slice of errors into an Aggregate interface, which is itself an implementation of the error interface.
NewAlreadyExists creates a HTTP 409 already exists error.
NewBadRequest creates a HTTP 400 error.
NewConflict creates a HTTP 409 error for a kind in a datacenter.
NewFromKubernetesError constructs HTTPError only if the given err is of type *StatusError.
NewNotAuthorized creates a HTTP 401 error.
NewNotFound creates a HTTP 404 error for a kind.
NewNotImplemented creates a HTTP 501 'not implemented' error.
NewWithDetails creates a brand new HTTPError object.
NewWrongMethod creates a HTTP 400 error, if we got a wrong request type.
# Interfaces
Aggregate represents an object that contains multiple errors, but does not necessarily have singular semantic meaning.