Exception: FacebookApi::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/facebook_api.rb

Overview

Raised if a Facebook API call fails and returns an error response.

Instance Method Summary collapse

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