Type of a closure function converting to the regular
nest.HttpException.
ExceptionManager.Closure is a type of closure function who are converting
from custom error to the regular nest.HttpException instance. It
would be used in the ExceptionManager with TypedRoute or
EncryptedRoute.
Evidence
contracts/common.md#principled-implementation A converter is a function from the caught error to an HttpException, whose status and body become the response.
Evidence
contracts/common.md#clear-and-simple-design One call signature.
Evidence
contracts/common.md#prohibited-implementation-shortcuts It is a type and adds no runtime behavior.
Evidence
contracts/common.md#meaningful-documentation The comment documents the parameter and the return value.
Evidence Exclude
contracts/portability.md#os-neutral-implementation Converter ordering and listener registration operate on JavaScript class and function identity, not native path or process identity.
Type of a closure function converting to the regular nest.HttpException.
ExceptionManager.Closureis a type of closure function who are converting from custom error to the regular nest.HttpException instance. It would be used in the ExceptionManager with TypedRoute or EncryptedRoute.Evidence
contracts/common.md#principled-implementation A converter is a function from the caught error to an
HttpException, whose status and body become the response.Evidence
contracts/common.md#clear-and-simple-design One call signature.
Evidence
contracts/common.md#prohibited-implementation-shortcuts It is a type and adds no runtime behavior.
Evidence
contracts/common.md#meaningful-documentation The comment documents the parameter and the return value.
Evidence Exclude
contracts/portability.md#os-neutral-implementation Converter ordering and listener registration operate on JavaScript class and function identity, not native path or process identity.