Exception: Koala::Facebook::GraphAPIError
- Inherits:
-
Exception
- Object
- Exception
- Koala::Facebook::GraphAPIError
- Defined in:
- lib/koala.rb
Instance Attribute Summary collapse
-
#fb_error_type ⇒ Object
Returns the value of attribute fb_error_type.
Instance Method Summary collapse
-
#initialize(details = {}) ⇒ GraphAPIError
constructor
A new instance of GraphAPIError.
Constructor Details
#initialize(details = {}) ⇒ GraphAPIError
Returns a new instance of GraphAPIError.
199 200 201 202 |
# File 'lib/koala.rb', line 199 def initialize(details = {}) self.fb_error_type = details["type"] super("#{fb_error_type}: #{details["message"]}") end |
Instance Attribute Details
#fb_error_type ⇒ Object
Returns the value of attribute fb_error_type.
198 199 200 |
# File 'lib/koala.rb', line 198 def fb_error_type @fb_error_type end |