ErrorExpression
public class ErrorExpression : FunctionExpression, @unchecked SendableAn expression that produces an error with a custom error message. This is primarily used for debugging purposes.
Example:
ErrorExpression("This is a custom error message").as("errorResult")
-
Undocumented
Declaration
Swift
public init(_ errorMessage: String)