Exception: TeamdriveApi::Error

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

Overview

An exception raised by the TeamDrive API

Instance Method Summary collapse

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