Sha256: 5998f153b92c7fb844e0bb60707d2eb491545ecf967f80d7efe7c3ad6e82fbb7

Contents?: true

Size: 1.17 KB

Versions: 38

Compression:

Stored size: 1.17 KB

Contents

module Aruba
  # Standard error
  class Error < StandardError; end

  # An error because a user of the API did something wrong
  class UserError < StandardError; end

  # Raised on launch error
  class LaunchError < Error; end

  # Raised if one tries to use an unknown configuration option
  class UnknownOptionError < ArgumentError; end

  # Raised if command already died
  class CommandAlreadyStoppedError < Error; end

  # Raised if one tries to access last command started, but no command
  # has been started
  class NoCommandHasBeenStartedError < Error; end

  # Raised if one tries to access last command stopped, but no command
  # has been stopped
  class NoCommandHasBeenStoppedError < Error; end

  # Raised if one looked for a command, but no matching was found
  class CommandNotFoundError < ArgumentError; end

  # Raised if command was already started, otherwise aruba forgets about the
  # previous pid and you've got hidden commands run
  class CommandAlreadyStartedError < Error; end

  # Raised if an event name cannot be resolved
  class EventNameResolveError < StandardError; end

  # Raised if given object is not an event
  class NoEventError < StandardError; end
end

Version data entries

38 entries across 38 versions & 4 rubygems

Version Path
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/aruba-2.2.0/lib/aruba/errors.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/aruba-2.2.0/lib/aruba/errors.rb
aruba-2.2.0 lib/aruba/errors.rb
aruba-2.1.0 lib/aruba/errors.rb
aruba-2.0.1 lib/aruba/errors.rb
phillipug-foodie-0.1.0 .vendor/ruby/3.0.0/gems/aruba-2.0.0/lib/aruba/errors.rb
aruba-2.0.0 lib/aruba/errors.rb
aruba-1.1.2 lib/aruba/errors.rb
aruba-1.1.1 lib/aruba/errors.rb
aruba-1.1.0 lib/aruba/errors.rb
aruba-1.0.4 lib/aruba/errors.rb
aruba-1.0.3 lib/aruba/errors.rb
aruba-1.0.2 lib/aruba/errors.rb
aruba-1.0.1 lib/aruba/errors.rb
aruba-1.0.0 lib/aruba/errors.rb
aruba-0.14.14 lib/aruba/errors.rb
aruba-0.14.13 lib/aruba/errors.rb
aruba-1.0.0.pre.alpha.5 lib/aruba/errors.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/aruba-0.14.12/lib/aruba/errors.rb
aruba-0.14.12 lib/aruba/errors.rb