Method: Peck::Error#initialize

Defined in:
lib/peck/error.rb

#initialize(type, message) ⇒ Error

Returns a new instance of Error.



7
8
9
10
# File 'lib/peck/error.rb', line 7

def initialize(type, message)
  @type = type.to_s
  super message
end