class SequenceServer::InputError
Errors caused due to incorrect user input.
Attributes
more_info[R]
Public Class Methods
new(more_info)
click to toggle source
Calls superclass method
# File lib/sequenceserver/api_errors.rb, line 50 def initialize(more_info) @more_info = more_info super end
Public Instance Methods
http_status()
click to toggle source
# File lib/sequenceserver/api_errors.rb, line 55 def http_status 400 end
message()
click to toggle source
# File lib/sequenceserver/api_errors.rb, line 63 def message <<~MSG Looks like there's a problem with one of the query sequences, selected databases, or advanced parameters. Details of the error are included below. Please ask on our <a href="https://github.com/wurmlab/sequenceserver/issues" target="_blank">issue tracker</a> or on our <a href="https://groups.google.com/g/sequenceserver">forum</a> if you are not sure what the error message means, or if the error message is just a number. MSG end
title()
click to toggle source
# File lib/sequenceserver/api_errors.rb, line 59 def title 'Input error' end