Function: isApiError()
ts
function isApiError(value): value is ApiError;Defined in: src/core/errors/predicates.ts:23
Stable
Any non-2xx response from Confluence, including every subclass.
Prefer these predicates to instanceof in library code and in anything that might load two copies of this package: they check a branded marker instead of the prototype chain.
Parameters
| Parameter | Type |
|---|---|
value | unknown |
Returns
value is ApiError