new ForgeInvocationErrorResponse(error: String, statusCode: InvocationStatusCode, options: ForgeInvocationErrorOptions): ForgeInvocationErrorResponse
1 2const forgeInvocationErrorResponse = new ForgeInvocationErrorResponse( "string", "400", { "backoffTimeInSeconds": 1 } )
Property Name | Type | Description |
---|---|---|
error | String | |
options | ForgeInvocationErrorOptions | |
statusCode | InvocationStatusCode |
build(): ForgeInvocationError
1 2const resp = forgeInvocationErrorResponse.build()
validate(): Void
1 2const resp = forgeInvocationErrorResponse.validate()
validateOptions(): Void
1 2const resp = forgeInvocationErrorResponse.validateOptions()
Rate this page: