@beholdio/ts-lambda-api - v2.4.8
    Preparing search index...

    Function errorInterceptor

    • Decorator for an endpoint method that configures the type to use to intercept errors.

      Overrides the controller error interceptor set by the controllerErrorInterceptor decorator, if any.

      Error interceptors instances are built using the InversifyJS IOC container for the current app.

      Parameters

      Returns (classDefinition: Object | Function, methodName: string) => void