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.



76
77
78
# File 'lib/facebook_session.rb', line 76

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

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



75
76
77
# File 'lib/facebook_session.rb', line 75

def code
  @code
end