Sha256: 2774c0364db76a324767c7486ab4741f6052b55b5aefdadcd324a2f8306c1709

Contents?: true

Size: 943 Bytes

Versions: 54

Compression:

Stored size: 943 Bytes

Contents

class Bundler::Thor
  # Bundler::Thor::Error is raised when it's caused by wrong usage of thor classes. Those
  # 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, SHOULD NOT raise a Bundler::Thor::Error. This way, we
  # ensure that developer errors are shown with full backtrace.
  class Error < StandardError
  end

  # Raised when a command was not found.
  class UndefinedCommandError < Error
  end
  UndefinedTaskError = UndefinedCommandError

  class AmbiguousCommandError < Error
  end
  AmbiguousTaskError = AmbiguousCommandError

  # Raised when a command was found, but not invoked properly.
  class InvocationError < Error
  end

  class UnknownArgumentError < Error
  end

  class RequiredArgumentMissingError < InvocationError
  end

  class MalformattedArgumentError < InvocationError
  end
end

Version data entries

54 entries across 54 versions & 3 rubygems

Version Path
rubygems-update-3.0.9 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-2.7.11 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-3.0.8 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-3.0.7 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-3.0.6 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-3.0.5 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-3.0.4 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-2.7.10 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-2.7.9 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-3.0.3 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
bundler-2.0.1 lib/bundler/vendor/thor/lib/thor/error.rb
bundler-2.0.0 lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-3.0.2 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
bundler-2.0.0.pre.3 lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.17.3 lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-3.0.1 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-3.0.0 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.17.2 lib/bundler/vendor/thor/lib/thor/error.rb
bundler-2.0.0.pre.2 lib/bundler/vendor/thor/lib/thor/error.rb
bundler-2.0.0.pre.1 lib/bundler/vendor/thor/lib/thor/error.rb