class SequenceServer::SystemError

Errors caused by everything other than invalid user input.

Attributes

more_info[R]

Public Class Methods

new(more_info = nil) click to toggle source
Calls superclass method
# File lib/sequenceserver/api_errors.rb, line 133
def initialize(more_info = nil)
  @more_info = more_info || backtrace
  super
end

Public Instance Methods

http_status() click to toggle source
# File lib/sequenceserver/api_errors.rb, line 138
def http_status
  500
end
message() click to toggle source
# File lib/sequenceserver/api_errors.rb, line 146
    def message
      <<~MSG
        Looks like there is a problem with the server. Try visiting the page again
        after a while. If this message persists, please report the problem on our
        <a href="https://github.com/wurmlab/sequenceserver/issues" target="_blank">
        issue tracker</a>.
      MSG
    end
title() click to toggle source
# File lib/sequenceserver/api_errors.rb, line 142
def title
  'System error'
end