Sha256: 446e8349da8198d330f6492d1f66d5459e24108eff3b72af5677334922cd72b9
Contents?: true
Size: 577 Bytes
Versions: 17
Compression:
Stored size: 577 Bytes
Contents
module Pocket # Custom error class for rescuing from all Pocket errors class Error < StandardError; end # Raised when Pocket returns the HTTP status code 400 class BadRequest < Error; end # Raised when Pocket returns the HTTP status code 404 class NotFound < Error; end # Raised when Pocket returns the HTTP status code 500 class InternalServerError < Error; end # Raised when Pocket returns the HTTP status code 503 class ServiceUnavailable < Error; end # Raised when a subscription payload hash is invalid class InvalidSignature < Error; end end
Version data entries
17 entries across 17 versions & 2 rubygems