Exception: FacebookApi::Error
- Inherits:
-
StandardError
- Object
- StandardError
- FacebookApi::Error
- Defined in:
- lib/facebook_api.rb
Overview
Raised if a Facebook API call fails and returns an error response.
Instance Method Summary collapse
-
#initialize(error_msg, error_code = 1) ⇒ Error
constructor
:nodoc:.
Constructor Details
#initialize(error_msg, error_code = 1) ⇒ Error
:nodoc:
113 114 115 |
# File 'lib/facebook_api.rb', line 113 def initialize(error_msg, error_code = 1) #:nodoc: super("FacebookApi::Error #{error_code}: #{error_msg}" ) end |