Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/hex/src/di/tests/deps.ts>mock.MockError

An ecosystem delivering practices, philosophy and portability.
Go to Latest
class mock.MockError
extends Error
import { mock } from "https://deno.land/x/hex@0.5.15/src/di/tests/deps.ts";
const { MockError } = mock;

An error related to spying on a function or instance method.

Constructors

new
MockError(message: string)