(object)
| 103 | } |
| 104 | |
| 105 | function isErrorLike (object) { |
| 106 | return object instanceof Error || ( |
| 107 | object?.constructor?.name === 'Error' || |
| 108 | object?.constructor?.name === 'DOMException' |
| 109 | ) |
| 110 | } |
| 111 | |
| 112 | // Check whether |statusText| is a ByteString and |
| 113 | // matches the Reason-Phrase token production. |
no outgoing calls
no test coverage detected