Class: Krakow::FrameType::Error

Inherits:
Krakow::FrameType show all
Defined in:
lib/krakow/frame_type/error.rb

Overview

Error from server

Constant Summary

Instance Attribute Summary (collapse)

Attributes (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Hash) arguments (readonly) Originally defined in module Utils::Lazy::InstanceMethods

Returns argument hash

Returns:

  • (Hash)

    argument hash

Instance Method Details

- (String) content

Returns content of error

Returns:

  • (String)

    content of error



20
21
22
# File 'lib/krakow/frame_type/error.rb', line 20

def content
  error
end

- (String) error

Returns the error attribute

Returns:

  • (String)

    the error attribute



15
# File 'lib/krakow/frame_type/error.rb', line 15

attribute :error, String, :required => true

- (TrueClass, FalseClass) error?

Returns truthiness of the error attribute

Returns:

  • (TrueClass, FalseClass)

    truthiness of the error attribute



15
# File 'lib/krakow/frame_type/error.rb', line 15

attribute :error, String, :required => true