@signal24/vue-foundation 4.30.1 → 4.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,17 @@
1
1
  export declare class UserError extends Error {
2
2
  constructor(message: string);
3
3
  }
4
+ interface ErrorWithCause extends Error {
5
+ cause?: Error;
6
+ }
4
7
  export declare function formatError(err: any): string;
5
- export declare function toError(err: any): Error;
8
+ export declare function toError(err: any, cause?: any): ErrorWithCause;
6
9
  export declare function isError(err: unknown): err is Error;
7
10
  interface IErrorAlertOptions {
11
+ cause?: any;
8
12
  title?: string;
9
13
  classes?: string[];
10
14
  }
11
15
  export declare function handleErrorAndAlert(errIn: any, options?: IErrorAlertOptions): Promise<void>;
12
- export declare function handleError(errIn: any): Promise<void>;
16
+ export declare function handleError(errIn: any, cause?: any): Promise<void>;
13
17
  export {};