aboutsummaryrefslogtreecommitdiff
path: root/include/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/error.h')
-rw-r--r--include/error.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/error.h b/include/error.h
index d058ec4..50ca23e 100644
--- a/include/error.h
+++ b/include/error.h
@@ -20,6 +20,12 @@ enum class error_code
// eval
EVAL_FAIL_TO_CREATE_PIPE,
+ // file
+ FILE_MODE_NOT_SET,
+ FILE_FAIL_TO_OPEN,
+ FILE_OFLAG_ERROR,
+ FILE_POINTER_FAIL_TO_OPEN,
+
};
class T_error : public std::runtime_error {