Class: SorobanRustBackend::Instruction::ExitWithMessage

Inherits:
Handler
  • Object
show all
Defined in:
lib/instruction/exit_with_message.rb

Overview

This class handles the exit_with_message instruction.

Instance Method Summary collapse

Methods inherited from Handler

#format_assign, handle, #initialize

Constructor Details

This class inherits a constructor from SorobanRustBackend::Instruction::Handler

Instance Method Details

#handleObject



5
6
7
# File 'lib/instruction/exit_with_message.rb', line 5

def handle
  "panic!(#{inputs_to_rust_string(@instruction.inputs)});"
end