Documentation
    Preparing search index...

    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.

    Type Parameters

    • T extends Error
    • Error converter.

      Convert from custom error to the regular nest.HttpException instance.

      Parameters

      • exception: T

        Custom error instance

      Returns HttpException

      Regular nest.HttpException instance