InvalidFilterOperatorValueError
ArchivedThese are the docs for ng-qubee 3.8. Read the 4.0 docs for @qubeejs/angular.
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
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InvalidFilterOperatorValueError(
operator,reason):InvalidFilterOperatorValueError
Defined in: src/lib/errors/invalid-filter-operator-value.error.ts:24
Parameters
Section titled “Parameters”operator
Section titled “operator”The operator that rejected the values
reason
Section titled “reason”string
Short human-readable explanation of the constraint
Returns
Section titled “Returns”InvalidFilterOperatorValueError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”message
Section titled “message”message:
string
Defined in: typescript/lib/lib.es5.d.ts:1075
Inherited from
Section titled “Inherited from”Error.message
name:
string
Defined in: typescript/lib/lib.es5.d.ts:1074
Inherited from
Section titled “Inherited from”Error.name
stack?
Section titled “stack?”
optionalstack?:string
Defined in: typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”Error.stack