Sha256: e086e6a74dcce77e59c25eeacb3072fc17751b3860cae546ea6776df9b8eddef

Contents?: true

Size: 513 Bytes

Versions: 14

Compression:

Stored size: 513 Bytes

Contents

module CopycopterClient
  # Raised when an error occurs while contacting the Copycopter server. This is
  # raised by {Client} and generally rescued by {Sync}. The application will
  # not encounter this error. Polling will continue even if this error is raised.
  class ConnectionError < StandardError
  end

  # Raised when the client is configured with an api key that the Copycopter
  # server does not recognize. Polling is aborted when this error is raised.
  class InvalidApiKey < StandardError
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
copycopter_client-1.0.2 lib/copycopter_client/errors.rb
copycopter_client-1.0.1 lib/copycopter_client/errors.rb
copycopter_client-1.0.0 lib/copycopter_client/errors.rb
copycopter_client-1.0.0.beta11 lib/copycopter_client/errors.rb
copycopter_client-1.0.0.beta10 lib/copycopter_client/errors.rb
copycopter_client-1.0.0.beta9 lib/copycopter_client/errors.rb
copycopter_client-1.0.0.beta8 lib/copycopter_client/errors.rb
copycopter_client-1.0.0.beta7 lib/copycopter_client/errors.rb
copycopter_client-1.0.0.beta6 lib/copycopter_client/errors.rb
copycopter_client-1.0.0.beta5 lib/copycopter_client/errors.rb
copycopter_client-1.0.0.beta4 lib/copycopter_client/errors.rb
copycopter_client-1.0.0.beta3 lib/copycopter_client/errors.rb
copycopter_client-1.0.0.beta2 lib/copycopter_client/errors.rb
copycopter_client-1.0.0.beta1 lib/copycopter_client/errors.rb