diff options
Diffstat (limited to 'lib/shell/error.rb')
-rw-r--r-- | lib/shell/error.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/shell/error.rb b/lib/shell/error.rb index df5e669af6..d338b1c5d1 100644 --- a/lib/shell/error.rb +++ b/lib/shell/error.rb @@ -18,8 +18,8 @@ class Shell def_e2message TypeError, "wrong argument type %s (expected %s)" def_exception :DirStackEmpty, "Directory stack empty." - def_exception :CanNotDefine, "Can't define method(%s, %s)." - def_exception :CanNotMethodApply, "This method(%s) can't apply this type(%s)." + def_exception :CantDefine, "Can't define method(%s, %s)." + def_exception :CantApplyMethod, "This method(%s) does not apply to this type(%s)." def_exception :CommandNotFound, "Command not found(%s)." end end |