Function: isXtlError()
function isXtlError(e): e is XtlError;
Defined in: src/error-codes.ts:85
Type guard for XtlError. Returns true only for Error instances
whose code starts with xl3/. Plain Errors, host-supplied error
shapes, and non-Error values all return false.
Parameters
| Parameter | Type |
|---|---|
e | unknown |
Returns
e is XtlError
Stable
Frozen at 1.0.