accept
Accepts the error as a node if an error is present, otherwise accepts this node normally via acceptOnSuccess.
Return
the result of visiting the error node or this node
Parameters
visitor
the visitor to accept
Accepts the error as a node if an error is present, otherwise accepts this node normally via acceptOnSuccess.
the result of visiting the error node or this node
the visitor to accept