diff options
Diffstat (limited to 'modules/language/python/exceptions.scm')
-rw-r--r-- | modules/language/python/exceptions.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/language/python/exceptions.scm b/modules/language/python/exceptions.scm index f2cceee..5b58f9e 100644 --- a/modules/language/python/exceptions.scm +++ b/modules/language/python/exceptions.scm @@ -17,7 +17,8 @@ UnicodeDecodeError LookupError IndentationError KeyboardInterrupt MemoryError NameError EOFError UnicodeError UnicodeEncodeError - FileExistsError FileNotFoundError IsADirectoryError )) + FileExistsError FileNotFoundError IsADirectoryError + EnvironmentError)) (define-syntax-rule (aif it p x y) (let ((it p)) (if it x y))) @@ -69,6 +70,7 @@ (define StopIteration 'StopIteration) (define GeneratorExit 'GeneratorExit) +(define-er EnvironmentError 'EnvironmentError) (define-er UnicodeEncodeError 'UnicodeEncodeError) (define-er FileExistsError 'FileExistsError) (define-er FileNotFoundError 'FileNotFoundError) |