Sha256: 680c7e1db95f9055e5203ed2d01f478248b06247b4e0e2ac734c3649959c14b3
Contents?: true
Size: 783 Bytes
Versions: 1
Compression:
Stored size: 783 Bytes
Contents
module Instagram # Custom error class for rescuing from all Instagram errors class Error < StandardError; end # Raised when Instagram returns the HTTP status code 400 class BadRequest < Error; end # Raised when Instagram returns the HTTP status code 404 class NotFound < Error; end # Raised when Instagram returns the HTTP status code 500 class InternalServerError < Error; end # Raised when Instagram returns the HTTP status code 502 class BadGateway < Error; end # Raised when Instagram returns the HTTP status code 503 class ServiceUnavailable < Error; end # Raised when Instagram returns the HTTP status code 504 class GatewayTimeout < Error; end # Raised when a subscription payload hash is invalid class InvalidSignature < Error; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
instagram-1.0.0 | lib/instagram/error.rb |