Any non-2xx response from the API, 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.
instanceof
Any non-2xx response from the API, including every subclass.
Prefer these predicates to
instanceofin library code and in anything that might load two copies of this package: they check a branded marker instead of the prototype chain.