InvalidFilterOperatorValueError
Defined in: src/lib/errors/invalid-filter-operator-value.error.ts:18
Thrown when a filter operator receives a value array of the wrong shape
Some operators have arity or type constraints that the library enforces at call time so misuse fails loudly instead of silently emitting invalid server requests:
BTWrequires exactly two values (min, max).NULLrequires exactly one boolean value (trueforIS NULL,falseforIS NOT NULL).
Operators with looser shape rules leave validation to the server; this error is reserved for cases where the library itself can detect the problem unambiguously from the call site.
Extends
Error
Constructors
Constructor
new InvalidFilterOperatorValueError(
operator,reason):InvalidFilterOperatorValueError
Defined in: src/lib/errors/invalid-filter-operator-value.error.ts:24
Parameters
operator
The operator that rejected the values
reason
string
Short human-readable explanation of the constraint
Returns
InvalidFilterOperatorValueError
Overrides
Error.constructor
Properties
message
message:
string
Defined in: docs-site/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Error.message
name
name:
string
Defined in: docs-site/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Error.name
stack?
optionalstack?:string
Defined in: docs-site/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Error.stack