Exception: FlexOps::AuthError
- Defined in:
- lib/flexops/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = "Authentication required. Check your access token or API key.") ⇒ AuthError
constructor
A new instance of AuthError.
Constructor Details
#initialize(message = "Authentication required. Check your access token or API key.") ⇒ AuthError
Returns a new instance of AuthError.
22 23 24 |
# File 'lib/flexops/errors.rb', line 22 def initialize( = "Authentication required. Check your access token or API key.") super(, status: 401, code: "UNAUTHORIZED") end |