@dcl/platform-server-commons
Version:
Platform's Http Server Common utils
4 lines • 365 B
TypeScript
import { IHttpServerComponent } from '@well-known-components/interfaces';
import { ComponentsWithLogger } from '../../types';
export declare function errorHandler(ctx: IHttpServerComponent.DefaultContext<ComponentsWithLogger>, next: () => Promise<IHttpServerComponent.IResponse>): Promise<IHttpServerComponent.IResponse>;
//# sourceMappingURL=error-handler.d.ts.map