Sha256: eddcc7fa421eadfd717f1629875033fec7373f77329b908eeced96e752761236

Contents?: true

Size: 742 Bytes

Versions: 29

Compression:

Stored size: 742 Bytes

Contents

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 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 task was not found.
  #
  class UndefinedTaskError < Error
  end

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

  class RequiredArgumentMissingError < InvocationError
  end

  class MalformattedArgumentError < InvocationError
  end
end

Version data entries

29 entries across 29 versions & 5 rubygems

Version Path
wycats-thor-0.11.4 lib/thor/error.rb
wycats-thor-0.11.5 lib/thor/error.rb
daemon-kit-0.1.8rc2 lib/daemon_kit/vendor/thor-0.12.3/lib/thor/error.rb
daemon-kit-0.1.8rc1 lib/daemon_kit/vendor/thor-0.12.3/lib/thor/error.rb
bundler-0.9.6 lib/bundler/vendor/thor/error.rb
bundler-0.9.5 lib/bundler/vendor/thor/error.rb
thor-0.13.1 lib/thor/error.rb
bundler-0.9.4 lib/bundler/vendor/thor/error.rb
bundler-0.9.3 lib/bundler/vendor/thor/error.rb
bundler-0.9.2 lib/bundler/vendor/thor/error.rb
bundler-0.9.1 lib/bundler/vendor/thor/error.rb
bundler-0.9.1.pre1 lib/bundler/vendor/thor/error.rb
bundler-0.9.0 lib/bundler/vendor/thor/error.rb
bundler-0.9.0.pre5 lib/bundler/vendor/thor/error.rb
thor-0.13.0 lib/thor/error.rb
bundler-0.9.0.pre4 lib/bundler/vendor/thor/error.rb
bundler-0.9.0.pre3 lib/bundler/vendor/thor/error.rb
bundler-0.9.0.pre2 lib/bundler/vendor/thor/error.rb
bundler-0.9.0.pre1 lib/bundler/vendor/thor/error.rb
daemon-kit-0.1.8pre lib/daemon_kit/vendor/thor-0.12.3/lib/thor/error.rb