/** * @property {string} message the error message * @property {string} name the error name (generally the same as the error class) * @property {string} stack the stack trace associated with this error * @property {Object} content additional properties assigned to the error to aid in debugging */ declare class ErrorMixin extends Error { message: string; name: string; content: object; stack?: string; /** * @param {Object|string} content the content to add to the error * @param {string} content.message if content is an object, it should include a property message */ constructor(content: any); /** * @return {Object} the JSON representation of this error */ toJSON(): any; } declare class ParsingError extends ErrorMixin { } declare class InputValidationError extends ErrorMixin { } declare class NotImplementedError extends ErrorMixin { } export { ErrorMixin, InputValidationError, NotImplementedError, ParsingError, };