Class: Error
Instance Attribute Summary collapse
-
#errno ⇒ Object
readonly
Returns the value of attribute errno.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Attributes inherited from Protocol
Instance Method Summary collapse
-
#initialize(errno, reason) ⇒ Error
constructor
A new instance of Error.
Methods inherited from Protocol
Constructor Details
Instance Attribute Details
#errno ⇒ Object (readonly)
Returns the value of attribute errno.
107 108 109 |
# File 'lib/cocaine/protocol.rb', line 107 def errno @errno end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
108 109 110 |
# File 'lib/cocaine/protocol.rb', line 108 def reason @reason end |