@appsemble/node-utils
Version:
NodeJS utilities used by Appsemble internally.
13 lines (12 loc) • 414 B
TypeScript
/**
* Used for throwing known Appsemble errors.
*
* This is used when the normal control flow needs to be aborted, but for reasons known. When an
* instance of `AppsembleError` is thrown, the message will be logged, but not the stack trace.
*/
export declare class AppsembleError extends Error {
/**
* @param message The error message to show to the user.
*/
constructor(message: string);
}