Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
26 lines
629 B
Plaintext
26 lines
629 B
Plaintext
interface ExceptionWithCode {
|
|
code: string | number;
|
|
name?: string;
|
|
message?: string;
|
|
stack?: string;
|
|
}
|
|
interface ExceptionWithMessage {
|
|
code?: string | number;
|
|
message: string;
|
|
name?: string;
|
|
stack?: string;
|
|
}
|
|
interface ExceptionWithName {
|
|
code?: string | number;
|
|
message?: string;
|
|
name: string;
|
|
stack?: string;
|
|
}
|
|
/**
|
|
* Defines Exception.
|
|
*
|
|
* string or an object with one of (message or name or code) and optional stack
|
|
*/
|
|
export declare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;
|
|
export {};
|
|
//# sourceMappingURL=Exception.d.ts.map |