Exception: Rookout::Exceptions::RookInvalidToken
- Inherits:
-
ToolException
- Object
- RuntimeError
- ToolException
- Rookout::Exceptions::RookInvalidToken
- Defined in:
- lib/rookout/exceptions.rb
Instance Attribute Summary
Attributes inherited from ToolException
Instance Method Summary collapse
-
#initialize(token = "") ⇒ RookInvalidToken
constructor
A new instance of RookInvalidToken.
Constructor Details
#initialize(token = "") ⇒ RookInvalidToken
Returns a new instance of RookInvalidToken.
129 130 131 132 |
# File 'lib/rookout/exceptions.rb', line 129 def initialize token = "" super "The Rookout token supplied #{token[0..6]} is not valid; please check the token and try again", { token: token[0...6] } end |