Sha256: 8522d3b60db940ec7ba07e4433a1322800be37b9380c9ec52942a136f6051e76

Contents?: true

Size: 916 Bytes

Versions: 35

Compression:

Stored size: 916 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, 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

  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

35 entries across 34 versions & 10 rubygems

Version Path
tdiary-5.0.13 vendor/bundle/gems/thor-0.19.4/lib/thor/error.rb
tdiary-5.0.12.1 vendor/bundle/gems/thor-0.19.4/lib/thor/error.rb
tdiary-5.0.11 vendor/bundle/gems/thor-0.19.4/lib/thor/error.rb
tdiary-5.0.9 vendor/bundle/gems/thor-0.19.4/lib/thor/error.rb
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/thor-0.19.4/lib/thor/error.rb
atli-0.1.2 lib/thor/error.rb
tdiary-5.0.7 vendor/bundle/gems/thor-0.19.4/lib/thor/error.rb
comiditaULL-0.1.1 vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/error.rb
comidita_ull-0.1.1 vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/error.rb
comidita_ull-0.1.0 vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/error.rb
tdiary-5.0.6 vendor/bundle/gems/thor-0.19.4/lib/thor/error.rb
bibtex_to_scrapbox-0.2.0 gems/gems/thor-0.19.4/lib/thor/error.rb
thor-0.20.0 lib/thor/error.rb
bibtex_to_scrapbox-0.1.0 gems/gems/thor-0.19.4/lib/thor/error.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/thor-0.19.4/lib/thor/error.rb
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/thor-0.19.4/lib/thor/error.rb
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/thor-0.19.4/lib/thor/error.rb
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/thor-0.19.4/lib/thor/error.rb
tdiary-5.0.5 vendor/bundle/gems/thor-0.19.4/lib/thor/error.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/thor-0.19.4/lib/thor/error.rb