Applies the error to a state.
error
state
Optional
If the state already has an error, this method does not override it. (Evaluation should end after the first encountered error, so further errors aren't relevant.)
Generated using TypeDoc
Applies the
error
to astate
.