* Ensure `name` and `message` show up in toJSON output re: gh-9296 * @api private
()
| 47 | */ |
| 48 | |
| 49 | toJSON() { |
| 50 | return Object.assign({ name: this.name, message: this.message }, this); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 |
nothing calls this directly
no outgoing calls
no test coverage detected