Skip to content

Braga has been retired. The next public testnet is coming in September 2026. Read the announcement →

InvalidPredicateError

Defined in: src/query/errors.ts:42

A predicate could not be expressed in the query language for a reason other than its operator — a system attribute that is returned in results but cannot be filtered on, a system attribute compared against the wrong type, or a combinator with nothing to combine.

  • Error

new InvalidPredicateError(message, attributeName?): InvalidPredicateError

Defined in: src/query/errors.ts:46

string

string

InvalidPredicateError

Error.constructor

readonly attributeName: string | undefined

Defined in: src/query/errors.ts:44

The attribute the predicate names, where there is one.