Sha256: 2d76e7ac5b701a17b916b460d5f2f2e165230079a38cfef21dbb3df3d1a8bb00

Contents?: true

Size: 925 Bytes

Versions: 247

Compression:

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

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

  class UnknownArgumentError < Error
  end

  class RequiredArgumentMissingError < InvocationError
  end

  class MalformattedArgumentError < InvocationError
  end

  # Raised when a user tries to call a private method encoded in templated filename.
  #
  class PrivateMethodEncodedError < Error
  end
end

Version data entries

247 entries across 228 versions & 23 rubygems

Version Path
engineyard-serverside-3.0.4 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-3.0.3 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.8.0 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.8.0.pre4 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.8.0.pre3 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.8.0.pre2 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.8.0.pre lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.7.0.pre lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.19 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.17 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.16 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.15.alpha1 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.15.cf2 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.15.pre lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.14 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.13 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.12 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.12.prewut5 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.12.prewut4 lib/vendor/thor/lib/thor/error.rb
engineyard-serverside-2.6.12.prewut3 lib/vendor/thor/lib/thor/error.rb