Exception: DBots::Err::RequiresToken

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

Overview

Raised when an authorized endpoint does not have a token

Instance Method Summary collapse

Instance Method Details

#messageObject

The default message for the error



15
16
17
# File 'lib/dbots/err.rb', line 15

def message
  'This endpoint requires a token.'
end