UNPKG

@accordproject/concerto-cto

Version:
33 lines (32 loc) 1.11 kB
declare const ParseException_base: any; /** * Exception throws when a Concerto file is syntactically invalid * @extends BaseFileException * @see See {@link BaseFileException} * @class * @memberof module:concerto-core * @private */ declare class ParseException extends ParseException_base { /** * Create an ParseException * @param {string} message - the message for the exception * @param {string | object} [fileLocation] - the file location associated with the exception * @param {string} [fileName] - the file name associated with the exception * @param {string} [fullMessageOverride] - the pre-existing full message * @param {string} [component] - the component which throws this error */ constructor(message: string, fileLocation?: { start: { line: number; column: number; offset: number; }; end?: { line: number; column: number; offset: number; }; }, fileName?: string, fullMessageOverride?: string, component?: string); } export = ParseException;