Exception: ZeroRailsAdapter::UnsupportedPushVersionError
- Inherits:
-
ProtocolError
- Object
- StandardError
- Error
- ProtocolError
- ZeroRailsAdapter::UnsupportedPushVersionError
- Defined in:
- lib/zero_rails_adapter/errors.rb
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Attributes inherited from ProtocolError
Instance Method Summary collapse
-
#initialize(version, mutation_ids: []) ⇒ UnsupportedPushVersionError
constructor
A new instance of UnsupportedPushVersionError.
Constructor Details
#initialize(version, mutation_ids: []) ⇒ UnsupportedPushVersionError
Returns a new instance of UnsupportedPushVersionError.
44 45 46 47 |
# File 'lib/zero_rails_adapter/errors.rb', line 44 def initialize(version, mutation_ids: []) @version = version super("Unsupported push version: #{version}", mutation_ids:) end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
42 43 44 |
# File 'lib/zero_rails_adapter/errors.rb', line 42 def version @version end |