summaryrefslogtreecommitdiffstats
path: root/types/mock-errors.d.ts
blob: 3d9e727d70a46a2c3a8c43d1cd2a5beeb60793eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Errors from './errors'

export default MockErrors

declare namespace MockErrors {
  /** The request does not match any registered mock dispatches. */
  export class MockNotMatchedError extends Errors.UndiciError {
    constructor(message?: string);
    name: 'MockNotMatchedError';
    code: 'UND_MOCK_ERR_MOCK_NOT_MATCHED';
  }
}