Sha256: ed094af3edafde9293cba28378dd49b9820213d723da04a85d1d1bc94c0d2dea
Contents?: true
Size: 516 Bytes
Versions: 16
Compression:
Stored size: 516 Bytes
Contents
# frozen_string_literal: true require 'cloud_party/exception' module CloudParty module Errors # Page/Endpoint doesn't exist class UnauthorizedError < RequestError def initialize(obj:, method:, response:, endpoint: nil, code: 401) super end def self.error_string <<~HEREDOC There was a '401 -- Unauthorized' error. HEREDOC end def self.extra_string <<~HEREDOC VERB: #{@method} HEREDOC end end end end
Version data entries
16 entries across 16 versions & 1 rubygems