Macro concordium_std::ensure [−][src]
The ensure
macro can be used for cleaner error handling. It is analogous
to assert
, but instead of panicking it uses bail
to terminate execution
of the function early.
The ensure
macro can be used for cleaner error handling. It is analogous
to assert
, but instead of panicking it uses bail
to terminate execution
of the function early.