(message)
| 9 | */ |
| 10 | class MockNotMatchedError extends UndiciError { |
| 11 | constructor (message) { |
| 12 | super(message) |
| 13 | this.name = 'MockNotMatchedError' |
| 14 | this.message = message || 'The request does not match any registered mock dispatches' |
| 15 | this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED' |
| 16 | } |
| 17 | |
| 18 | static [Symbol.hasInstance] (instance) { |
| 19 | return instance && instance[kMockNotMatchedError] === true |
nothing calls this directly
no outgoing calls
no test coverage detected