ErrorNode
public struct ErrorNode : Node
Represents a ErrorNode node in the workflow.
- property status: The status of the error.
- property input: The input for the error.
- property message: The message for the error.
-
Declaration
Swift
nonisolated(unsafe) public let input: [String : Any] -
Declaration
Swift
public let message: String -
Declaration
Swift
public let status: Int? -
Declaration
Swift
public let context: FlowContext -
Initializes a new instance of
ErrorNode.Declaration
Swift
public init(status: Int? = nil, input: [String : Any] = [:], message: String = "", context: FlowContext)Parameters
statusThe status of the error.
inputThe input for the error.
messageThe message for the error.
View on GitHub