UNPKG

flysh

Version:

DOM Document Object Artifact Collector

54 lines 1.59 kB
/** * 'FlyshException' Exception Class Definition * * This class is instanciated and thrown in case of error. Inherits from the native TypeScript framework 'Error' class * */ export declare class FlyshException extends Error { errorID: number; /** * Class constants */ private readonly CLASS_INSTANCE_NAME_VALUE; private readonly CLASS_INSTANCE_LINKED_FLYSH_INSTANCE_ID_VALUE; /** * Class properties */ private _error_id; private _instance_id; private _name; /** * Constructor * * @param errorID Refers to the exception ID value * @param err 'Error' type message * @param message Internal 'error' message * @param instanceID Linked 'Flysh' instance ID */ constructor(errorID: number, err: Error, message: string, instanceID?: number); /** * Getter 'errorIDNumber' * * @returns Returns a 'string' that constains the '_error_id' class property */ get errorIDNumber(): number; /** * Getter 'instanceID' * * @returns Returns a 'string' that contains the '_instance_ID' number class property or 'undefined' */ get instanceID(): number | undefined; /** * Getter 'name' * * @returns Returns a 'string' that contains the '_name' class property */ get name(): string; /** * Overrides 'toString()' used by the inherited 'stack' function * * @returns Returns a 'string' that displays all the class instance's properties */ toString: () => string; } //# sourceMappingURL=FlyshException.d.ts.map