Exception: ZeroRuby::TransactNotCalledError
- Defined in:
- lib/zero_ruby/errors.rb
Overview
Raised when a mutation doesn’t call the transact block. All mutations MUST call transact.call { … } to wrap their database operations.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize ⇒ TransactNotCalledError
constructor
A new instance of TransactNotCalledError.
Methods inherited from Error
Constructor Details
#initialize ⇒ TransactNotCalledError
Returns a new instance of TransactNotCalledError.
110 111 112 |
# File 'lib/zero_ruby/errors.rb', line 110 def initialize super("Mutation must call transact block") end |