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?
-
Initializes a new instance of
ErrorNode
.Declaration
Swift
public init(status: Int? = nil, input: [String : Any] = [:], message: String = "")
Parameters
status
The status of the error.
input
The input for the error.
message
The message for the error.