| 8 | |
| 9 | // Indicates that the error is used only to interrupt control flow, but not in the return value |
| 10 | export class DiscardedError extends Error {} |
| 11 | |
| 12 | // Proper way to set `error.name`: it should be inherited and non-enumerable |
| 13 | const setErrorName = (ErrorClass, value) => { |
nothing calls this directly
no outgoing calls
no test coverage detected