(reason)
| 15 | IllegalOperationError.prototype.name = 'IllegalOperationError'; |
| 16 | |
| 17 | function stackCapture(reason) { |
| 18 | const e = new Error(); |
| 19 | return `Stack capture: ${reason}\n${trimStack(e.stack, 2)}`; |
| 20 | } |
| 21 | |
| 22 | module.exports.IllegalOperationError = IllegalOperationError; |
| 23 | module.exports.stackCapture = stackCapture; |
no test coverage detected