aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.core/errc.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.core/errc.ccm')
-rw-r--r--nihil.core/errc.ccm5
1 files changed, 4 insertions, 1 deletions
diff --git a/nihil.core/errc.ccm b/nihil.core/errc.ccm
index fe36274..7f57fec 100644
--- a/nihil.core/errc.ccm
+++ b/nihil.core/errc.ccm
@@ -9,9 +9,10 @@ export enum struct errc : std::uint8_t {
no_error = 0,
///////////////////////////////////////////////////////////////
- // nihil.command
+ // nihil.cli
incomplete_command,
+ usage_error,
///////////////////////////////////////////////////////////////
// nihil.ucl
@@ -43,6 +44,8 @@ struct nihil_error_category final : std::error_category
return "No error";
case errc::incomplete_command:
return "Incomplete command";
+ case errc::usage_error:
+ return "Usage error";
case errc::empty_string:
return "Empty string is not permitted";
case errc::invalid_unit: