Exception: Ashikawa::Core::BadSyntax
- Inherits:
-
ClientError
- Object
- RuntimeError
- ClientError
- Ashikawa::Core::BadSyntax
- Defined in:
- lib/ashikawa-core/exceptions/client_error/bad_syntax.rb
Overview
This exception is thrown when the client used bad syntax in a request
Instance Method Summary collapse
-
#initialize(message = 'Status 400: The syntax of the request was bad') ⇒ Object
constructor
private
Create a new instance.
-
#to_s ⇒ Object
private
String representation of the exception.
Methods inherited from ClientError
Constructor Details
#initialize(message = 'Status 400: The syntax of the request was bad') ⇒ 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
12 13 14 15 |
# File 'lib/ashikawa-core/exceptions/client_error/bad_syntax.rb', line 12 def initialize( = 'Status 400: The syntax of the request was bad') = super(400) 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
21 22 23 |
# File 'lib/ashikawa-core/exceptions/client_error/bad_syntax.rb', line 21 def to_s end |