Sha256: 32c8602b427e8855bf871449f8f6fd5676db47ceb10313bdfb39e1f4772388bf
Contents?: true
Size: 540 Bytes
Versions: 4
Compression:
Stored size: 540 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 BadRequestError < ResponseError; end class NotFoundError < ResponseError; end class ForbiddenError < ResponseError; end class PreconditionFailedError < ResponseError; end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
picasa-0.6.3 | lib/picasa/exceptions.rb |
picasa-0.6.2 | lib/picasa/exceptions.rb |
picasa-0.6.1 | lib/picasa/exceptions.rb |
picasa-0.6.0 | lib/picasa/exceptions.rb |