aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/vendor/thor/error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/vendor/thor/error.rb')
-rw-r--r--lib/bundler/vendor/thor/error.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/bundler/vendor/thor/error.rb b/lib/bundler/vendor/thor/error.rb
index 9746b882..532db462 100644
--- a/lib/bundler/vendor/thor/error.rb
+++ b/lib/bundler/vendor/thor/error.rb
@@ -1,6 +1,6 @@
class Thor
# Thor::Error is raised when it's caused by wrong usage of thor classes. Those
- # errors have their backtrace supressed and are nicely shown to the user.
+ # errors have their backtrace suppressed and are nicely shown to the user.
#
# Errors that are caused by the developer, like declaring a method which
# overwrites a thor keyword, it SHOULD NOT raise a Thor::Error. This way, we
@@ -27,4 +27,9 @@ class Thor
class MalformattedArgumentError < InvocationError
end
+
+ # Raised when a user tries to call a private method encoded in templated filename.
+ #
+ class PrivateMethodEncodedError < Error
+ end
end