Skip to content

IntegerRepresentationError

An integer response requires bigint or adaptive mode to preserve its exact value.

class IntegerRepresentationError extends RangeError
constructor(value: bigint, path: string)

Describes an integer that number mode cannot decode exactly.

value: Exact response integer.

path: Location in the response.

Response location identifying the offending integer.

readonly path: string

Exact integer that could not be represented as a safe number.

readonly value: bigint

VerdictClient · identity · VerdictClientOptions · FactBatchInput · Consistency · ReadOptions · SessionOptions · Revision · Identity · GroundTerm · PatternValue · Wildcard · FilterValue · FactInput · PatternInput · ListFilterInput · IntegerMode · IntegerResult · ResultTerm

Client reference introduction.