Issue ID:
Type
Feature
Title:
Allow expression after throw statement
Created:
5/15/2018 7:59:53 PM by Greg D
Status:
Closed on 3/30/2020 10:16:15 AM
Last pulled:
4/15/2019 9:42:01 PM
Description:

Extend the throw statement to support an optional expression. The new formal grammar will be:

throw_statement ::=
  throw[ /literal_expression/];

When specified and the expression evaluates to a string containing any non-whitespace characters, the expression should be written to the current log scope as an error message.

This is essentially a shorthand for Log-Error.