@case-contract-testing/case
Version:
Next-generation contract testing suite
21 lines (20 loc) • 801 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ERROR_TYPE_TEST_RESPONSE = exports.ERROR_TYPE_EXECUTION = exports.ERROR_TYPE_RAW_MATCH = exports.ERROR_TYPE_MATCHING = void 0;
// Warning: **ALL** error types must be listed in the function in handlers.ts
/**
* Represents an error from a matcher
*/
exports.ERROR_TYPE_MATCHING = 'MATCHING_ERROR';
/**
* Represents an error that would be from a matcher, but there's no physical matcher
*/
exports.ERROR_TYPE_RAW_MATCH = 'RAW_MATCH_ERROR';
/**
* Represents an error executing the test (usually the trigger function)
*/
exports.ERROR_TYPE_EXECUTION = 'EXECUTION_ERROR';
/**
* Represents an error during the testResponse or testErrorResponse function
*/
exports.ERROR_TYPE_TEST_RESPONSE = 'TEST_RESPONSE_ERROR';