- UnknownError(cause, stack?): {
cause: string;
stack: undefined | string;
type: "unknown-error";
}
-
Parameters
-
cause: unknown
-
Optional
stack: string
Returns {
cause: string;
stack: undefined | string;
type: "unknown-error";
}
-
cause: string
-
stack: undefined | string
-
type: "unknown-error"
Standard call to create an [UnknownError].