UNPKG

@ocap/util

Version:

utils shared across multiple forge js libs, works in both node.js and browser

14 lines 370 B
//#region src/error.d.ts declare class CustomError extends Error { code: string; props: { persist: boolean; [prop: string]: $TSFixMe; }; constructor(code: string, message: string, props?: {}); } declare class PersistError extends CustomError { constructor(code: string, message: string, props?: {}); } //#endregion export { CustomError, PersistError };