Iskra API Reference
    Preparing search index...

    Class DeadlineError

    node-oracledb did not answer a call within its deadline (its timeout plus deadlineGrace): the driver stopped waiting and dropped the connection without waiting for the call. A transaction on that connection is lost.

    Hierarchy (View Summary)

    Index
    code: ErrorCode
    context: Record<string, unknown>
    deadlineMs: number
    • get applicationError(): { message: string; number: number } | undefined

      A PL/SQL RAISE_APPLICATION_ERROR (ORA-20000 to ORA-20999): its number and message, without the ORA-20xxx: prefix and the ORA-06512 stack lines. Its code is CONFLICT (409), and the message is for the client.

      Returns { message: string; number: number } | undefined

    • get errorCode(): string | undefined

      The database's or the driver's code: 'ORA-00001', 'NJS-040', 'NJS-123'…

      Returns string | undefined

    • get errorNum(): number | undefined

      The ORA error number of the failure, if the database reported one.

      Returns number | undefined

    • get expose(): boolean

      Whether web-kit shows the message to the client: a PL/SQL application error's.

      Returns boolean

    • get timedOut(): boolean

      The statement ran out of time: node-oracledb's callTimeout (NJS-123) or the driver's deadline.

      Returns boolean

    • Returns {
          cause?: string;
          code: ErrorCode;
          context: Record<string, unknown>;
          message: string;
          name: string;
      }