@fathom-rules/sdk / ConnectionError
Class: ConnectionError¶
Defined in: errors.ts:72
HTTP ≥500, HTTP 0, or fetch rejection (network error / DNS / abort).
When constructed from a caught fetch rejection, status is set to 0 and
body contains the original error message.
Extends¶
Constructors¶
Constructor¶
new ConnectionError(
status,body):ConnectionError
Defined in: errors.ts:73
Parameters¶
status¶
number
body¶
string
Returns¶
ConnectionError
Overrides¶
Properties¶
body¶
readonlybody:string
Defined in: errors.ts:33
Inherited from¶
status¶
readonlystatus:number
Defined in: errors.ts:32