Exception: FreebaseAPI::ServiceError
- Defined in:
- lib/freebase_api/exceptions.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(params) ⇒ ServiceError
constructor
A new instance of ServiceError.
Methods inherited from Error
Constructor Details
#initialize(params) ⇒ ServiceError
Returns a new instance of ServiceError.
18 19 20 21 |
# File 'lib/freebase_api/exceptions.rb', line 18 def initialize(params) super self.errors = params['errors'] end |