79424045

Date: 2025-02-08 22:59:24
Score: 0.5
Natty:
Report link
(create {EXCEPTIONS}).die (n)

is the most portable solution which should work anywhere.

In Liberty Eiffel the most convenient and preferred way is

die_with_code (n)

-- the most common exit codes are available named:
die_with_code (exit_success_code)
die_with_code (exit_failure_code)

die_with_code is a method of ANY and therefore available anywhere.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): is the
  • Low reputation (0.5):
Posted by: igneus