ErrorNode

data class ErrorNode(val context: FlowContext, val input: JsonObject = buildJsonObject { }, val message: String, val status: Int? = null) : Node(source)

Represents a failure node in the workflow.

Constructors

Link copied to clipboard
constructor(context: FlowContext, input: JsonObject = buildJsonObject { }, message: String, status: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val input: JsonObject

The input JSON object.

Link copied to clipboard

The failure message.

Link copied to clipboard
val status: Int?

The optional HTTP status code associated with the failure.