Sha256: 51eb8750acb7802fbd720f0b2f6525c16578280854d969719700c5bffd66e3ca
Contents?: true
Size: 508 Bytes
Versions: 19
Compression:
Stored size: 508 Bytes
Contents
# typed: strict # frozen_string_literal: true module ShopifyAPI module Errors class HttpResponseError < StandardError extend T::Sig sig { returns(Integer) } attr_reader :code sig { returns(ShopifyAPI::Clients::HttpResponse) } attr_reader :response sig { params(response: ShopifyAPI::Clients::HttpResponse).void } def initialize(response:) super @code = T.let(response.code, Integer) @response = response end end end end
Version data entries
19 entries across 19 versions & 1 rubygems