SML# Document Version 4.0.0
19 Expressions

19.15 Exception expression raise exp

This expression raises the given exception. exp must be of exception type exn. The type of this expression depends on the context; if there is no restriction on types, this exception has a polymorphic type ’a.

This expression evaluates exp to an exception and raise it. Therefore, this expression does not have any value.