Sha256: f0af6d7f42fbad74f7d7c2273faffde0dbe64c371a81ec7b06e4ec2c3784ee6e

Contents?: true

Size: 981 Bytes

Versions: 237

Compression:

Stored size: 981 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 # rubocop:disable ConstantName

  class AmbiguousCommandError < Error
  end
  AmbiguousTaskError = AmbiguousCommandError # rubocop:disable ConstantName

  # 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

237 entries across 233 versions & 22 rubygems

Version Path
honeybadger-4.5.5 vendor/cli/thor/error.rb
honeybadger-4.5.4 vendor/cli/thor/error.rb
honeybadger-4.5.3 vendor/cli/thor/error.rb
honeybadger-4.5.2 vendor/cli/thor/error.rb
honeybadger-4.5.1 vendor/cli/thor/error.rb
honeybadger-4.5.0 vendor/cli/thor/error.rb
honeybadger-4.4.2 vendor/cli/thor/error.rb
honeybadger-4.4.1 vendor/cli/thor/error.rb
honeybadger-4.4.0 vendor/cli/thor/error.rb
honeybadger-4.3.1 vendor/cli/thor/error.rb
honeybadger-4.3.0 vendor/cli/thor/error.rb
honeybadger-4.2.2 vendor/cli/thor/error.rb
honeybadger-4.2.1 vendor/cli/thor/error.rb
honeybadger-4.2.0 vendor/cli/thor/error.rb
honeybadger-4.1.0 vendor/cli/thor/error.rb
honeybadger-4.0.0 vendor/cli/thor/error.rb
honeybadger-3.3.1 vendor/cli/thor/error.rb
honeybadger-3.4.0.beta1 vendor/cli/thor/error.rb
honeybadger-3.3.0 vendor/cli/thor/error.rb
honeybadger-3.2.0 vendor/cli/thor/error.rb