UNPKG

@decaf-ts/decorator-validation

Version:
19 lines 1.42 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.COMPARISON_ERROR_MESSAGES = void 0; exports.COMPARISON_ERROR_MESSAGES = { INVALID_PATH: "Invalid path argument. Expected non-empty string but received: '{0}'", CONTEXT_NOT_OBJECT_COMPARISON: "Unable to access parent at level {0} for path '{1}': current context is not an object", PROPERTY_INVALID: "Failed to resolve path {0}: property '{1}' is invalid or does not exist.", PROPERTY_NOT_EXIST: "Failed to resolve path: property '{0}' does not exist.", UNSUPPORTED_TYPES_COMPARISON: "Unsupported types for comparison: '{0}' and '{1}'", NULL_OR_UNDEFINED_COMPARISON: "Comparison failed due to null or undefined value", INVALID_DATE_COMPARISON: "Invalid Date objects are not comparable", TYPE_MISMATCH_COMPARISON: "Cannot compare values of different types: {0} and {1}.", NAN_COMPARISON: "Comparison not supported for NaN values", // NO_PARENT_COMPARISON: "Unable to access parent at level {0} for path '{1}': no parent available", // PROPERTY_NOT_FOUND: "Failed to resolve path {0}: property '{1}' does not exist.", // PROPERTY_NOT_FOUND_ON_PARENT: "Failed to resolve path {0}: property '{1}' does not exist on parent.", // PROPERTY_NOT_FOUND_AFTER_PARENT: "Failed to resolve path {0}: property '{1}' does not exist after {2} parent level(s).", }; //# sourceMappingURL=errors.js.map