class SequenceServer::InvalidParameterError
InvalidParameterError
is a more generic error class that can be raised when the frontend sends a request with an invalid parameter
Attributes
more_info[R]
Public Class Methods
new(more_info)
click to toggle source
Calls superclass method
# File lib/sequenceserver/api_errors.rb, line 60 def initialize(more_info) super @more_info = more_info end
Public Instance Methods
http_status()
click to toggle source
# File lib/sequenceserver/api_errors.rb, line 65 def http_status 422 end
message()
click to toggle source
# File lib/sequenceserver/api_errors.rb, line 73 def message "The action you're trying to perform is not possible because \ one of the provided parameters is invalid." end
title()
click to toggle source
# File lib/sequenceserver/api_errors.rb, line 69 def title 'Invalid parameter' end