diff options
Diffstat (limited to 'lib/nes/common/status.hh')
| -rw-r--r-- | lib/nes/common/status.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/nes/common/status.hh b/lib/nes/common/status.hh index 4b23b60..54c210f 100644 --- a/lib/nes/common/status.hh +++ b/lib/nes/common/status.hh @@ -13,6 +13,7 @@ namespace nes error_buffer_overflow, error_invalid_path, error_invalid_format_string, + error_unknown_file_type, }; constexpr auto to_string(status const status) -> char const* @@ -35,8 +36,10 @@ namespace nes return "Invalid path"; case status::error_invalid_format_string: return "Invalid format string"; + case status::error_unknown_file_type: + return "Unknown file type"; } return "(invalid)"; } -} // namespace nes
\ No newline at end of file +} // namespace nes |
