Sha256: 450f0e471bfadd8a52f8beb00468878852a7ae1b0744fa6899cb92233f4c9a4e

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

module Picasa
  # All Picasa exceptions can be cought by rescuing:
  # Picasa::StandardError
  #
  class StandardError < StandardError; end

  class ArgumentError < StandardError; end

  class ResponseError < StandardError
    attr_reader :response

    def initialize(message, response)
      @response = response
      super(message)
    end
  end

  class NotFoundError < ResponseError; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
picasa-0.4.2 lib/picasa/exceptions.rb