@accordproject/concerto-core
Version:
Core Implementation for the Concerto Modeling Language
24 lines (23 loc) • 1.11 kB
TypeScript
declare const BaseFileException: any;
/**
* Exception throws when a composer file is semantically invalid
* @extends BaseFileException
* @see See {@link BaseFileException}
* @class
* @memberof module:concerto-core
*/
declare class IllegalModelException extends BaseFileException {
/**
* Create an IllegalModelException.
* @param {string} message - the message for the exception
* @param {ModelFile} [modelFile] - the modelfile associated with the exception
* @param {Object} [fileLocation] - location details of the error within the model file.
* @param {number} fileLocation.start.line - start line of the error location.
* @param {number} fileLocation.start.column - start column of the error location.
* @param {number} fileLocation.end.line - end line of the error location.
* @param {number} fileLocation.end.column - end column of the error location.
* @param {string} [component] - the component which throws this error
*/
constructor(message: any, modelFile?: any, fileLocation?: any, component?: any);
}
export = IllegalModelException;