@breautek/storm
    Preparing search index...

    Class DatabaseQueryError

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

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

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • If the underlying error is a database error, then returns the database error code as sting.

      Returns string

      8.5.0

    • Private details are only logged to the server log. They are kept secret from the client.

      Returns { error: any; query: string }

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void