Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

exception

exception

(T 
type
:
Type, R 
type
:
Type, f Function R)
 => 
outcome R
convenience routine to create a new instance of 'exception T' and run 'f' in
it. The result will be an `outcome R` that, in case of success, contains
the result of `f`, or, in case of `(exception T).env.raise`, contains the error.

Type Parameters

0.095dev (2025-08-15 12:02:22 GIT hash 301b5b75e77076d091b38f555473f9f0e31e5b5c built by fridi@fzen)