An error due to calling the FQL abort function.

Hierarchy (view full)

Constructors

Properties

abort: QueryValue

The user provided value passed to the originating abort() call. Present only when the query encountered an abort() call, which is denoted by the error code "abort"

cause?: unknown
code: string

A code for the error. Codes indicate the cause of the error. It is safe to write programmatic logic against the code. They are part of the API contract.

constraint_failures?: ConstraintFailure[]

A machine readable description of any constraint failures encountered by the query. Present only if this query encountered constraint failures.

httpStatus?: number

The HTTP Status Code of the error.

message: string
name: string
queryInfo?: QueryInfo

Details about the query sent along with the response

stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void