@gabliam/web-core
Version:
Gabliam plugin for add web-core
9 lines (8 loc) • 429 B
TypeScript
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>;
}