Sha256: 3be87cbbf99921ef36ee9755164c8988aee97acf59014d3b16cd474a6524ec76
Contents?: true
Size: 311 Bytes
Versions: 4
Compression:
Stored size: 311 Bytes
Contents
# frozen_string_literal: true module FreightKit class ResponseError < FreightKit::Error attr_reader :response def initialize(response = nil) if response.is_a?(Response) super(response.message) @response = response else super(response) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems