@contract-case/case-core
Version:
Core functionality for the ContractCase contract testing suite
14 lines • 543 B
TypeScript
import { MatchResult } from '@contract-case/case-plugin-base';
/**
* This is thrown by ContractCase core when expectations set up in the test were not met.
*
* If implementing a plugin, do not throw this during a matcher execution,
* instead return a {@link MatchResult} that contains the appropriate error.
*
* @public
*/
export declare class CaseFailedAssertionError extends Error {
matchResult: MatchResult;
constructor(errorMessage: string, matchResult: MatchResult);
}
//# sourceMappingURL=CaseFailedAssertionError.d.ts.map