Sha256: c46a913f0791f9190a864b6662124d27150cca5a5fd5651b455bf68643207b14

Contents?: true

Size: 1008 Bytes

Versions: 6

Compression:

Stored size: 1008 Bytes

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
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
aruba-0.12.0 lib/aruba/errors.rb
aruba-0.11.2 lib/aruba/errors.rb
aruba-0.11.1 lib/aruba/errors.rb
aruba-0.11.0.pre4 lib/aruba/errors.rb
aruba-0.11.0.pre3 lib/aruba/errors.rb
aruba-0.11.0.pre2 lib/aruba/errors.rb