Exception: RFacebook::FacebookSession::RemoteStandardError
- Inherits:
-
StandardError
- Object
- StandardError
- RFacebook::FacebookSession::RemoteStandardError
- Defined in:
- lib/facebook_session.rb
Overview
TODO: better exception classes in v1.0?
Direct Known Subclasses
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code) ⇒ RemoteStandardError
constructor
A new instance of RemoteStandardError.
Constructor Details
#initialize(message, code) ⇒ RemoteStandardError
Returns a new instance of RemoteStandardError.
61 62 63 |
# File 'lib/facebook_session.rb', line 61 def initialize(, code) @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
60 61 62 |
# File 'lib/facebook_session.rb', line 60 def code @code end |