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, methodName) => void)

      • (classDefinition, methodName): void
      • Parameters

        • classDefinition: Object | Function
        • methodName: string

        Returns void

Generated using TypeDoc