INNER CODE UNIT · JavaScript
customError
kiranz/just-api · lib/errors.js:3
export function customError(name, opts) {
return errorEx(name, opts);
}
export const errorTypes = [
'FileDoesNotExistError',
'NotAValidYAMLCustomTypeError',
'InvalidYAMLSuiteSchemaError',
'InvalidSuiteConfigurationError',
'DisabledSuiteError',
'NoSpecsFoundError',
'NoSpecFoundMatchingNameError',
'RequestBodyNotFoundError',
'ResponseStatusCodeDidNotMatchError',
'ResponseHeaderValueDidNotMatchError',
'YAMLSuiteLoadingError',
'SuiteConfigurationFailedError',
'BeforeAllHookError',