js-bao-wss-client / isJsBaoApiError
Function: isJsBaoApiError()
isJsBaoApiError(
e):e is JsBaoApiError
Type guard for JsBaoApiError: returns true when the server responded with a non-2xx HTTP status, narrowing the value so status, code, and body are available.
Parameters
e
any
Returns
e is JsBaoApiError