PreconditionFailed

com.bilalfazlani.zioMaelstrom.ErrorCode.PreconditionFailed
object PreconditionFailed extends ErrorCode

The requested operation expected some conditions to hold, and those conditions were not met. For instance, a compare-and-set operation might assert that the value of a key is currently 5; if the value is 3, the server would return precondition-failed.

Attributes

Graph
Supertypes
trait ErrorCode
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited fields

val code: Int

Attributes

Inherited from:
ErrorCode
val definite: Boolean

Attributes

Inherited from:
ErrorCode