Sha256: f8c1583af8ea392a07f748c4d89a23f526fb7e4c3371bee0694c3a41a748b6bd
Contents?: true
Size: 821 Bytes
Versions: 1
Compression:
Stored size: 821 Bytes
Contents
module Zoho module Subscriptions module Errors # @note: Catch Zoho::Subscriptions::Errors::Error to handle all Zoho::Subscriptions related # errors. Any errors related to the service must inherit Zoho::Subscriptions::Errors::Error. class Error < StandardError end # @note: When the response status is 400 class BadRequest < Error end # @note: When the response status is 401 class Unauthorized < Error end # @note: When the response status is 404 class NotFound < Error end # @note: When the response status is 405 class MethodNotAllowed < Error end # @note: When the response status is 429 class TooManyRequests < Error end class InternalServerError < Error end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zoho-subscriptions-0.1.0 | lib/zoho/subscriptions/errors.rb |