Class: ScriptCore::EngineUnknownTypeError

Inherits:
EngineInternalError
  • Object
show all
Defined in:
lib/script_core/engine_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:) ⇒ EngineUnknownTypeError

Returns a new instance of EngineUnknownTypeError.



73
74
75
76
# File 'lib/script_core/engine_error.rb', line 73

def initialize(type:)
  @type = type
  super("unknown type #{type}")
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



71
72
73
# File 'lib/script_core/engine_error.rb', line 71

def type
  @type
end