Represents an error returned by ArangoDB.

Hierarchy

  • Error
    • ArangoError

Properties

code: number

HTTP status code included in the server error response object.

errorNum: number

ArangoDB error code.

See ArangoDB error documentation.

name: string = "ArangoError"
response: any

Server response object.

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

Type declaration

stackTraceLimit: number

Methods

  • Returns {
        code: number;
        error: boolean;
        errorMessage: string;
        errorNum: number;
    }

    • code: number
    • error: boolean
    • errorMessage: string
    • errorNum: number
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc