Skip to content

SDK API Reference / isHttp400Error

Function: isHttp400Error() ​

isHttp400Error(error): boolean

Check if an error is an HTTP 400 Bad Request error Works with HTTPClientError (has status property) or error messages containing "HTTP 400"

Parameters ​

error ​

unknown

Returns ​

boolean