diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-11-14 18:20:06 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-11-14 18:20:06 +0100 |
commit | db8ad8c1376eef09ef520fd0dd0b6b8d47f17b58 (patch) | |
tree | 84badfb6c3734b33627077f253227473f3fe64d1 | |
parent | 4065acd8711297f5aac2c929b7a6a2259c582fef (diff) | |
download | ghdl-db8ad8c1376eef09ef520fd0dd0b6b8d47f17b58.tar.gz ghdl-db8ad8c1376eef09ef520fd0dd0b6b8d47f17b58.tar.bz2 ghdl-db8ad8c1376eef09ef520fd0dd0b6b8d47f17b58.zip |
types: add Fatal_Error.
-rw-r--r-- | src/types.ads | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.ads b/src/types.ads index 1ab3c50c2..519ff94ee 100644 --- a/src/types.ads +++ b/src/types.ads @@ -158,6 +158,9 @@ package Types is -- is detected. Internal_Error: exception; + -- Unrecoverable error. Just exit() with an error status. + Fatal_Error : exception; + -- In some case, a low level subprogram can't handle error -- (e.g eval_pos). In this case it is easier to raise an exception and -- let upper level subprograms handle the case. |