11cb0ef41Sopenharmony_ci'use strict' 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ciconst { UndiciError } = require('../core/errors') 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ciclass MockNotMatchedError extends UndiciError { 61cb0ef41Sopenharmony_ci constructor (message) { 71cb0ef41Sopenharmony_ci super(message) 81cb0ef41Sopenharmony_ci Error.captureStackTrace(this, MockNotMatchedError) 91cb0ef41Sopenharmony_ci this.name = 'MockNotMatchedError' 101cb0ef41Sopenharmony_ci this.message = message || 'The request does not match any registered mock dispatches' 111cb0ef41Sopenharmony_ci this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED' 121cb0ef41Sopenharmony_ci } 131cb0ef41Sopenharmony_ci} 141cb0ef41Sopenharmony_ci 151cb0ef41Sopenharmony_cimodule.exports = { 161cb0ef41Sopenharmony_ci MockNotMatchedError 171cb0ef41Sopenharmony_ci} 18