diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-12 11:09:51 +0800 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-12 11:09:51 +0800 |
| commit | 77cd5981b398075ff866aab9d4145fc28542d773 (patch) | |
| tree | 4b5db756a299d0c0b1e930dab1db4614eeebb6b3 /include/error.h | |
| parent | 273858455fce9b7667f423d28830b5e08d0d7548 (diff) | |
add unix file class
Diffstat (limited to 'include/error.h')
| -rw-r--r-- | include/error.h | 6 |
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 { |
