1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2024-12-24 21:21:28 +00:00
action-ansible-playbook/node_modules/undici/lib/mock/mock-errors.js

18 lines
439 B
JavaScript
Raw Normal View History

2024-01-17 09:08:10 +00:00
'use strict'
const { UndiciError } = require('../core/errors')
class MockNotMatchedError extends UndiciError {
constructor (message) {
super(message)
Error.captureStackTrace(this, MockNotMatchedError)
this.name = 'MockNotMatchedError'
this.message = message || 'The request does not match any registered mock dispatches'
this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED'
}
}
module.exports = {
MockNotMatchedError
}