Abort
com.bilalfazlani.zioMaelstrom.protocol.ErrorCode$.Abort$
Indicates that some kind of general, definite error occurred. Use this as a catch-all for errors you can't otherwise categorize, when you specifically know that the requested operation has not taken place. For instance, you might encounter an indefinite failure during the prepare phase of a transaction: since you haven't started the commit process yet, the transaction can't have taken place. It's therefore safe to return a definite abort to the client.
Attributes
- Graph
-
- Supertypes
- Self type
-
Abort.type
Members list
In this article