Exception: Ashikawa::Core::ClientError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Ashikawa::Core::ClientError
- Defined in:
- lib/ashikawa-core/exceptions/client_error.rb
Overview
The client had an error in the request
Direct Known Subclasses
AuthenticationFailed, BadSyntax, EdgeCollectionAlreadyPresent, ResourceNotFound, VertexCollectionAlreadyPresent
Instance Method Summary collapse
-
#default_error_message ⇒ Object
private
The default error message to be used.
-
#initialize(message = nil) ⇒ Object
constructor
private
Create a new instance.
Constructor Details
#initialize(message = nil) ⇒ 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 instance
11 12 13 |
# File 'lib/ashikawa-core/exceptions/client_error.rb', line 11 def initialize( = nil) super( || ) end |
Instance Method Details
#default_error_message ⇒ 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.
The default error message to be used. Can be overridden by sub classed
19 20 21 |
# File 'lib/ashikawa-core/exceptions/client_error.rb', line 19 def '400 Bad Request' end |