Exception: Protocol::BaseCheckError
- Inherits:
-
ProtocolError
- Object
- StandardError
- ProtocolError
- Protocol::BaseCheckError
- Includes:
- CheckError
- Defined in:
- lib/protocol/errors.rb
Overview
If a protocol check failes this exception is raised.
Direct Known Subclasses
ArgumentErrorCheckError, BlockCheckError, NotImplementedErrorCheckError, PostconditionCheckError, PreconditionCheckError
Instance Attribute Summary collapse
-
#protocol_message ⇒ Object
readonly
Returns the Protocol::Message object, that caused this CheckError to be raised.
Instance Method Summary collapse
-
#initialize(protocol_message, message) ⇒ BaseCheckError
constructor
A new instance of BaseCheckError.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(protocol_message, message) ⇒ BaseCheckError
Returns a new instance of BaseCheckError.
16 17 18 19 |
# File 'lib/protocol/errors.rb', line 16 def initialize(, ) super() = end |
Instance Attribute Details
#protocol_message ⇒ Object (readonly)
Returns the Protocol::Message object, that caused this CheckError to be raised.
23 24 25 |
# File 'lib/protocol/errors.rb', line 23 def end |