Exception: ProtkError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/protk/error.rb

Direct Known Subclasses

PeptideNotInProteinError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ ProtkError

Returns a new instance of ProtkError.



4
5
6
# File 'lib/protk/error.rb', line 4

def initialize(message)
	@message=message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



3
4
5
# File 'lib/protk/error.rb', line 3

def message
  @message
end