* Returns a JSON representation of the error, including all built-in error properties, * as well as properties that were dynamically added.
()
| 142 | * as well as properties that were dynamically added. |
| 143 | */ |
| 144 | toJSON(): ErrorPOJO & T; |
| 145 | |
| 146 | /** |
| 147 | * Returns a representation of the error for Node's `util.inspect()` method. |
no outgoing calls