Exception: RFacebook::FacebookSession::RemoteStandardError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/facebook_session.rb

Overview

TODO: better exception classes in v1.0?

Direct Known Subclasses

ExpiredSessionStandardError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, code) ⇒ RemoteStandardError

Returns a new instance of RemoteStandardError.



61
62
63
# File 'lib/facebook_session.rb', line 61

def initialize(message, code)
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



60
61
62
# File 'lib/facebook_session.rb', line 60

def code
  @code
end