Sha256: 64ec38ca08facc604235cf44bdc0a5900681b0e846b6386834948cfccabdf49b
Contents?: true
Size: 898 Bytes
Versions: 10
Compression:
Stored size: 898 Bytes
Contents
module Nytimes module Articles ## # The generic Error class from which all other Errors are derived. class Error < ::RuntimeError end ## # This error is thrown if there are problems authenticating your API key. class AuthenticationError < Error end ## # This error is thrown if the request was not parsable by the API server. class BadRequestError < Error end ## # This error is thrown if the response from the API server is not parsable. class BadResponseError < Error end ## # This error is thrown if there is an error connecting to the API server. class ServerError < Error end ## # This error is thrown if there is a timeout connecting to the server (to be implemented). class TimeoutError < Error end ## # This error is thrown for general connection errors to the API server. class ConnectionError < Error end end end
Version data entries
10 entries across 10 versions & 3 rubygems