Sha256: bdb5ec66d6bd54936944e3b2e8ef89ef18b19e7a46196a85b1862f576370de34

Contents?: true

Size: 829 Bytes

Versions: 285

Compression:

Stored size: 829 Bytes

Contents

class Thor
  # 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, it SHOULD NOT raise a 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

  # 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

285 entries across 277 versions & 16 rubygems

Version Path
skylight-5.1.0.beta3 lib/skylight/vendor/cli/thor/error.rb
skylight-5.1.0.beta2 lib/skylight/vendor/cli/thor/error.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/thor-0.18.1/lib/thor/error.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/thor-0.18.1/lib/thor/error.rb
skylight-5.1.0.beta lib/skylight/vendor/cli/thor/error.rb
skylight-5.0.1 lib/skylight/vendor/cli/thor/error.rb
skylight-5.0.0 lib/skylight/vendor/cli/thor/error.rb
skylight-5.0.0.beta5 lib/skylight/vendor/cli/thor/error.rb
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/thor-0.18.1/lib/thor/error.rb
skylight-4.3.2 lib/skylight/vendor/cli/thor/error.rb
skylight-5.0.0.beta4 lib/skylight/vendor/cli/thor/error.rb
skylight-5.0.0.beta3 lib/skylight/vendor/cli/thor/error.rb
skylight-5.0.0.beta2 lib/skylight/vendor/cli/thor/error.rb
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/thor-0.18.1/lib/thor/error.rb
skylight-5.0.0.beta lib/skylight/vendor/cli/thor/error.rb
skylight-4.3.1 lib/skylight/vendor/cli/thor/error.rb
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/thor-0.18.1/lib/thor/error.rb
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/thor-0.18.1/lib/thor/error.rb
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/thor-0.18.1/lib/thor/error.rb
skylight-4.3.0 lib/skylight/vendor/cli/thor/error.rb