UNPKG

@gabliam/web-core

Version:
9 lines (8 loc) 429 B
import { ExecutionContext } from '../execution-context'; import { GabResponse } from '../gab-response'; import { nextFn } from '../interface'; import { ResponseEntity } from '../response-entity'; import { Interceptor } from './utils'; export declare class SendErrorInterceptor implements Interceptor { intercept(next: nextFn, exec: ExecutionContext, res: GabResponse): Promise<ResponseEntity<string | object> | undefined>; }