Class: Krakow::FrameType::Error
- Inherits:
-
Krakow::FrameType
- Object
- Krakow::FrameType
- Krakow::FrameType::Error
- Defined in:
- lib/krakow/frame_type/error.rb
Overview
Error from server
Constant Summary
Constants inherited from Krakow::FrameType
Instance Attribute Summary
Attributes included from Utils::Lazy::InstanceMethods
Attributes collapse
-
#error ⇒ String
The error attribute.
-
#error? ⇒ TrueClass, FalseClass
Truthiness of the error attribute.
Instance Method Summary collapse
-
#content ⇒ String
Content of error.
Methods inherited from Krakow::FrameType
Methods included from Utils::Lazy::ClassMethods
#attribute, #attributes, #set_attributes
Methods included from Utils::Lazy::InstanceMethods
Methods included from Utils::Lazy
Methods included from Utils::Logging
Instance Method Details
#content ⇒ String
Returns content of error.
20 21 22 |
# File 'lib/krakow/frame_type/error.rb', line 20 def content error end |
#error ⇒ String
Returns the error attribute.
15 |
# File 'lib/krakow/frame_type/error.rb', line 15 attribute :error, String, :required => true |
#error? ⇒ TrueClass, FalseClass
Returns truthiness of the error attribute.
15 |
# File 'lib/krakow/frame_type/error.rb', line 15 attribute :error, String, :required => true |