Sha256: 0ee1270d7537786158e0a0e6d9410c12a18033f1869cb192ace4d049581c4c5a

Contents?: true

Size: 514 Bytes

Versions: 7

Compression:

Stored size: 514 Bytes

Contents

module CopycopterClient
  # Raised when an error occurs while contacting the Copycopter server. This is
  # raised by {Client} and generally rescued by {Cache}. 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

7 entries across 7 versions & 1 rubygems

Version Path
copycopter_client-2.0.1 lib/copycopter_client/errors.rb
copycopter_client-2.0.0 lib/copycopter_client/errors.rb
copycopter_client-1.1.2 lib/copycopter_client/errors.rb
copycopter_client-1.1.1 lib/copycopter_client/errors.rb
copycopter_client-1.1.0 lib/copycopter_client/errors.rb
copycopter_client-1.0.4 lib/copycopter_client/errors.rb
copycopter_client-1.0.3 lib/copycopter_client/errors.rb