UNPKG

assert-options

Version:
13 lines (12 loc) 532 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OptionsError = void 0; /** * All errors that can occur inside an assert function. */ var OptionsError; (function (OptionsError) { OptionsError[OptionsError["invalidOptionsParam"] = 0] = "invalidOptionsParam"; OptionsError[OptionsError["invalidDefaultsParam"] = 1] = "invalidDefaultsParam"; OptionsError[OptionsError["optionNotRecognized"] = 2] = "optionNotRecognized"; })(OptionsError || (exports.OptionsError = OptionsError = {}));