Exception: SlackbotFrd::NoTokenError
- Inherits:
-
StandardError
- Object
- StandardError
- SlackbotFrd::NoTokenError
- Defined in:
- lib/slackbot_frd/lib/errors.rb
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ NoTokenError
constructor
A new instance of NoTokenError.
Constructor Details
#initialize(message = nil) ⇒ NoTokenError
Returns a new instance of NoTokenError.
4 5 6 7 8 9 10 |
# File 'lib/slackbot_frd/lib/errors.rb', line 4 def initialize( = nil) if super() else super('An API token is required for authenticating to the Slack API') end end |