From dfb6682089ad758b7ba72733778a9aa8c544c164 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 1 Dec 2015 02:29:21 -0700 Subject: add test for bad import --- src/error.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/error.cpp') diff --git a/src/error.cpp b/src/error.cpp index 7c3064c143..7690dd0776 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -6,6 +6,12 @@ const char *err_str(int err) { case ErrorNoMem: return "out of memory"; case ErrorInvalidFormat: return "invalid format"; case ErrorSemanticAnalyzeFail: return "semantic analyze failed"; + case ErrorAccess: return "access denied"; + case ErrorInterrupted: return "interrupted"; + case ErrorSystemResources: return "lack of system resources"; + case ErrorFileNotFound: return "file not found"; + case ErrorFileSystem: return "file system error"; + case ErrorFileTooBig: return "file too big"; } return "(invalid error)"; } -- cgit v1.2.3