UNPKG

399 BTypeScriptView Raw
1import BaseError = require('extensible-error');
2import { ErrorObject } from 'ajv';
3export default class InvalidJsonBodyError extends BaseError {
4 ilpErrorCode: string;
5 httpErrorCode: number;
6 protected validationErrors: ErrorObject[];
7 constructor(message: string, validationErrors: ErrorObject[]);
8 debugPrint(log: (message: string) => void, validationError?: ErrorObject): void;
9}