Method: Uinit::Type::Error#initialize

Defined in:
lib/uinit/type/error.rb

#initialize(error_message, types, depth, trace = []) ⇒ Error

Returns a new instance of Error.



6
7
8
9
10
11
12
13
# File 'lib/uinit/type/error.rb', line 6

def initialize(error_message, types, depth, trace = [])
  super()

  @error_message = error_message
  @types = types
  @depth = depth
  @traces = trace
end