Exception: Rescuetime::Errors::InvalidCredentialsError

Inherits:
Unauthorized show all
Defined in:
lib/rescuetime/errors.rb

Overview

Raised when a method requires credentials but credentials are invalid

Since:

  • v0.1.0

Constant Summary

Constants inherited from Error

Error::CODES

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'API key is invalid. Please provide a valid key.') ⇒ InvalidCredentialsError

Returns a new instance of InvalidCredentialsError.

Since:

  • v0.1.0



55
56
57
# File 'lib/rescuetime/errors.rb', line 55

def initialize(msg = 'API key is invalid. Please provide a valid key.')
  super
end