class SequenceServer::DatabaseUnreachableError

DatabaseUnreachableError is raised when the serialised Job object is refering to a database that is not present in the current filesystem.

Attributes

more_info[R]

Public Class Methods

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

Public Instance Methods

message() click to toggle source
# File lib/sequenceserver/api_errors.rb, line 18
def message
  "The action you're trying to perform is not possible because \
    the database is unreachable. This can happen if the database has \
    been deleted or you are performing an action on an imported job."
end
title() click to toggle source
# File lib/sequenceserver/api_errors.rb, line 14
def title
  'Sequence database unreachable'
end