The Freya Programming Language

Raise statements

See also

The raise statement switches the state of a runing application into the panic mode.

Syntax

There are two kinds of raise. The first one is the most common:

raise expression

As an alternative, you can write a raise statement without an exception object, but only inside an except clause:

raise

In that case, the original exception is raised again.

See also

The Freya Programming Language
Statements
try/except statements
try/finally statements
try/fault statements
using statement