Classes
Enumerations
Interfaces
TypeAliases

ForgeInvocationErrorResponse

Constructors

new ForgeInvocationErrorResponse(error: String, statusCode: InvocationStatusCode, options: ForgeInvocationErrorOptions): ForgeInvocationErrorResponse

1
2
const forgeInvocationErrorResponse = new ForgeInvocationErrorResponse(
  "string",
  "400",
  {
    "backoffTimeInSeconds": 1
  }
)

Properties

Property NameTypeDescription
errorString
optionsForgeInvocationErrorOptions
statusCodeInvocationStatusCode

Methods

Build

build(): ForgeInvocationError

1
2
const resp = forgeInvocationErrorResponse.build()

Validate

validate(): Void

1
2
const resp = forgeInvocationErrorResponse.validate()

ValidateOptions

validateOptions(): Void

1
2
const resp = forgeInvocationErrorResponse.validateOptions()

Rate this page: