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.
76 77 78 |
# File 'lib/facebook_session.rb', line 76 def initialize(, code) @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
75 76 77 |
# File 'lib/facebook_session.rb', line 75 def code @code end |