Exception: Ashikawa::Core::AuthenticationFailed
- Inherits:
-
ClientError
- Object
- RuntimeError
- ClientError
- Ashikawa::Core::AuthenticationFailed
- Defined in:
- lib/ashikawa-core/exceptions/client_error/authentication_failed.rb
Overview
This exception is thrown when the client is not authorized
Instance Method Summary collapse
-
#initialize ⇒ Object
constructor
private
Create a new authentication failure.
-
#to_s ⇒ Object
private
String representation of the exception.
Methods inherited from ClientError
Constructor Details
#initialize ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Create a new authentication failure
12 13 14 |
# File 'lib/ashikawa-core/exceptions/client_error/authentication_failed.rb', line 12 def initialize super(401) end |
Instance Method Details
#to_s ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
String representation of the exception
20 21 22 |
# File 'lib/ashikawa-core/exceptions/client_error/authentication_failed.rb', line 20 def to_s 'Status 401: Authentication failed' end |