()
| 75 | } |
| 76 | |
| 77 | function getSampleCustomError () { |
| 78 | class MyCustomError extends Error {} |
| 79 | return new MyCustomError("THIS IS THE MESSAGE"); |
| 80 | } |
| 81 | |
| 82 | function hasKey (error, key) { |
| 83 | return (key in error) || (error[key] !== undefined); |
no outgoing calls
no test coverage detected
searching dependent graphs…