Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OciError

Hierarchy

Constructors

constructor

  • new OciError(statusCode: number, serviceCode: string, message: string, opcRequestId: string | null, targetService: string, operationName: string, timestamp: string, requestEndpoint: string, apiReferenceLink: string): OciError
  • Parameters

    • statusCode: number
    • serviceCode: string
    • message: string
    • opcRequestId: string | null
    • targetService: string
    • operationName: string
    • timestamp: string
    • requestEndpoint: string
    • apiReferenceLink: string

    Returns OciError

Properties

clientVersion

clientVersion: string = `Oracle-TypeScriptSDK/${version}`

loggingTips

loggingTips: string = "To get more info on the failing request, refer to https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkconcepts.htm#typescriptsdkconcepts_topic_Logging for ways to log the request/response details."

message

message: string

name

name: string

opcRequestId

opcRequestId: string | null

operationName

operationName: string

requestEndpoint

requestEndpoint: string

serviceCode

serviceCode: string

Optional stack

stack: undefined | string

statusCode

statusCode: number

targetService

targetService: string

timestamp

timestamp: string

troubleshootingTips

troubleshootingTips: string

Static Error

Error: ErrorConstructor