1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 23:11:16 +02:00

Throw a specific error for incomplete parse errors.

`nix-repl` will use this for deciding whether to keep waiting for input or
error out right away.
This commit is contained in:
Scott Olson 2016-02-24 04:32:18 -06:00
parent 8f71bc33d5
commit 6498adb002
3 changed files with 11 additions and 1 deletions

View file

@ -11,6 +11,7 @@ namespace nix {
MakeError(EvalError, Error)
MakeError(ParseError, Error)
MakeError(IncompleteParseError, ParseError)
MakeError(AssertionError, EvalError)
MakeError(ThrownError, AssertionError)
MakeError(Abort, EvalError)