class Ashikawa::Core::BadSyntax
This exception is thrown when the client used bad syntax in a request
Public Class Methods
new(message = 'Status 400: The syntax of the request was bad')
click to toggle source
Create a new instance
@return RuntimeError @api private
Calls superclass method
Ashikawa::Core::ClientError::new
# File lib/ashikawa-core/exceptions/client_error/bad_syntax.rb, line 11 def initialize(message = 'Status 400: The syntax of the request was bad') @message = message super(400) end
Public Instance Methods
to_s()
click to toggle source
String representation of the exception
@return String @api private
# File lib/ashikawa-core/exceptions/client_error/bad_syntax.rb, line 20 def to_s @message end