RecordQueryError
@gravity-rail/react / RecordQueryError
Class: RecordQueryError
A failed runRecordQuery. message is the server's detail, which names
query structure (fields, operators) and never record values. A challenge for
extra sign-in verification throws StepUpRequiredError instead.
Extends
Error
Constructors
Constructor
new RecordQueryError(
kind,status,message,extra?):RecordQueryError
Parameters
kind
status
number
message
string
extra?
errors?
string[]
requiredScope?
string
Returns
RecordQueryError
Overrides
Error.constructor
Properties
cause?
optionalcause:unknown
Inherited from
Error.cause
errors
readonlyerrors:string[]
Per-field problems of a 422 Validation failed response; the server strips submitted values.
kind
readonlykind:RecordQueryErrorKind
message
message:
string
Inherited from
Error.message
name
name:
string
Inherited from
Error.name
requiredScope?
readonlyoptionalrequiredScope:string
The scope an access failure needs, when the server names one.
stack?
optionalstack:string
Inherited from
Error.stack
status
readonlystatus:number