Exception: TeamdriveApi::Error
- Inherits:
-
StandardError
- Object
- StandardError
- TeamdriveApi::Error
- Defined in:
- lib/teamdrive_api/error.rb
Overview
An exception raised by the TeamDrive API
Instance Method Summary collapse
-
#initialize(code, msg) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(code, msg) ⇒ Error
Returns a new instance of Error.
4 5 6 7 |
# File 'lib/teamdrive_api/error.rb', line 4 def initialize(code, msg) super msg @code, @msg = code, msg end |