Exception: DBots::Err::Unauthorized

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/dbots/err.rb

Overview

Raised when an API key is invalid or incorrect.

Instance Method Summary collapse

Instance Method Details

#messageObject

The default message for the error



7
8
9
# File 'lib/dbots/err.rb', line 7

def message
  'Invalid API key!'
end