class Farscape::Exceptions::ProtocolException

Attributes

representor[R]

Public Class Methods

new(representor) click to toggle source
# File lib/farscape/errors.rb, line 8
def initialize(representor)
  @representor = representor
end

Public Instance Methods

error_description() click to toggle source
# File lib/farscape/errors.rb, line 16
def error_description
  'Unknown Error'
end
message() click to toggle source
# File lib/farscape/errors.rb, line 12
def message
  @representor.representor.to_hash
end