@ocap/util
Version:
utils shared across multiple forge js libs, works in both node.js and browser
12 lines (11 loc) • 327 B
TypeScript
export declare class CustomError extends Error {
code: string;
props: {
persist: boolean;
[prop: string]: $TSFixMe;
};
constructor(code: string, message: string, props?: {});
}
export declare class PersistError extends CustomError {
constructor(code: string, message: string, props?: {});
}