class CPU::IllegalNumberOfParametersException

Overview

Raised when CPU.run has a WASM call with wrong number of parameters.

run(0x01, [0], [] of Int32) # raises IllegalNumberOfParametersException

Defined in:

components/cpu/cpu.cr

Constructors

Constructor Detail

def self.new(message = "Given program contains WASM call with wrong number of parameters.") #

[View source]