UNPKG

@substrate/api-sidecar

Version:

REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.

11 lines (10 loc) 320 B
import { ErrorRequestHandler } from 'express'; /** * Handle errors of an older format and prior to the introduction of http-error. * * @param err any * @param _req Express Request * @param res Express Response * @param next Express NextFunction */ export declare const legacyErrorMiddleware: ErrorRequestHandler;