class SequenceServer::BLAST::RuntimeError

To signal internal errors.

RuntimeError is raised when BLAST+'s exits status is one of 2, 3, 4, or 255; see [1]. These are rare, infrastructure errors, used internally, and of concern only to the admins/developers.

Attributes

message[R]
status[R]

Public Class Methods

new(status, message) click to toggle source
# File lib/sequenceserver/blast/exceptions.rb, line 15
def initialize(status, message)
  @status  = status
  @message = message
end

Public Instance Methods

to_s() click to toggle source
# File lib/sequenceserver/blast/exceptions.rb, line 22
def to_s
  "#{status}, #{message}"
end