1 | import BaseError = require('extensible-error');
|
2 | import { ErrorObject } from 'ajv';
|
3 | export 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 | }
|