class
CQL::OptimisticLockError
- CQL::OptimisticLockError
- CQL::Error
- Exception
- Reference
- Object
Overview
Optimistic Lock Error - Raised when a concurrent update has occurred
Defined in:
exceptions.crConstructors
Instance Method Summary
- #actual_version : Int32 | Nil
- #expected_version : Int32 | Nil
- #id : DB::Any | Nil
- #model_class : String | Nil
Constructor Detail
def self.new(message : String = "Record has been modified by another process", model_class : String | Nil = nil, id : DB::Any | Nil = nil, expected_version : Int32 | Nil = nil, actual_version : Int32 | Nil = nil)
#