Class: Jade::Interop::Lowering::FunctionError

Inherits:
Error
  • Object
show all
Defined in:
lib/jade/interop/lowering/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(function_name) ⇒ FunctionError

Returns a new instance of FunctionError.



21
22
23
# File 'lib/jade/interop/lowering/error.rb', line 21

def initialize(function_name)
  @function_name = function_name
end

Instance Method Details

#messageObject



25
26
27
# File 'lib/jade/interop/lowering/error.rb', line 25

def message
  "Function (#{@function_name}) cannot be lowered for interop"
end