/** * Internal-use interface describing an AuraError configuration */ interface AuraErrorConfig { /** Name of the class that threw the error; to be used in the Error's name */ class: string; /** Method that threw the error; to be used in the Error's message */ method: string; /** The main Error message; to be combined with the method */ message: string; } /** * Utility class wrapping Error with custom information * * Facilitates user-friendly 'nice' error handling, with custom names and comprehensive messages */ export declare class AuraError extends Error { /** * Constructor. Construct a useful error message, and set the Error's name * * @param config the information to compile into the Error */ constructor(config: AuraErrorConfig); } export {};