Skip to content

SDK API Reference / isHttp404Error

Function: isHttp404Error()

isHttp404Error(error): boolean

Check if an error is an HTTP 404 Not Found error Works with HTTPClientError (has status property) or error messages containing "404" or "Record not found"

Parameters

error

unknown

Returns

boolean