Function: isRustFetchError()
Call Signature
isRustFetchError(
value):value is RustFetchError
Defined in: api/rust-fetch.d.ts:573
true for an error thrown by rust-fetch, whichever realm or copy of the package made it; with kind, only for that kind.
Parameters
value
unknown
Returns
value is RustFetchError
Call Signature
isRustFetchError<
K>(value,kind):value is RustFetchErrorOf<K>
Defined in: api/rust-fetch.d.ts:574
true for an error thrown by rust-fetch, whichever realm or copy of the package made it; with kind, only for that kind.
Type Parameters
K
K extends RustFetchErrorKind
Parameters
value
unknown
kind
K
Returns
value is RustFetchErrorOf<K>