Skip to content

Documentation


Documentation / @blazetrails/actionpack / DebugExceptions

Class: DebugExceptions ​

Defined in: packages/actionpack/lib/action-dispatch/middleware/debug-exceptions.ts:33

Constructors ​

Constructor ​

new DebugExceptions(app, routesApp?, responseFormat?, interceptors?): DebugExceptions

Defined in: packages/actionpack/lib/action-dispatch/middleware/debug-exceptions.ts:47

Parameters ​

ParameterTypeDefault value
appRackApp | { call: RackApp; }undefined
routesApp{ routes: RouteSet; } | nullnull
responseFormat"default" | "api""default"
interceptorsInterceptor[]DebugExceptions.interceptors

Returns ​

DebugExceptions

Methods ​

call() ​

call(env): Promise<RackResponse>

Defined in: packages/actionpack/lib/action-dispatch/middleware/debug-exceptions.ts:187

Parameters ​

ParameterType
envRackEnv

Returns ​

Promise<RackResponse>


registerInterceptor() ​

static registerInterceptor(object): void

Defined in: packages/actionpack/lib/action-dispatch/middleware/debug-exceptions.ts:37

Parameters ​

ParameterType
objectInterceptor

Returns ​

void