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-2.7.8 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.17.1 lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.17.0 lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.17.0.pre.2 lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.16.6 lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.17.0.pre.1 lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.16.5 lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.16.4 lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.16.3 lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-2.7.7 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.16.2 lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-2.7.6 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-2.7.5 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-2.7.4 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-2.7.4.pre1 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
bundler-1.16.1 lib/bundler/vendor/thor/lib/thor/error.rb
pract6-0.1.0 .gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-2.7.3 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-2.7.2 bundler/lib/bundler/vendor/thor/lib/thor/error.rb
rubygems-update-2.7.1 bundler/lib/bundler/vendor/thor/lib/thor/error.rb