Sha256: cb2c744b09bc8663377759e731c2cc4cfc0ce49eec70d50928fd93dac424fb1a
Contents?: true
Size: 798 Bytes
Versions: 104
Compression:
Stored size: 798 Bytes
Contents
module ActiveShipping class Error < ActiveUtils::ActiveUtilsError end class ResponseError < ActiveShipping::Error attr_reader :response def initialize(response = nil) if response.is_a? Response super(response.message) @response = response else super(response) end end end class ResponseContentError < ActiveShipping::Error def initialize(exception, content_body = nil) super([exception.message, content_body].compact.join(" \n\n")) end end class ShipmentNotFound < ActiveShipping::Error end class USPSValidationError < StandardError end class USPSMissingRequiredTagError < StandardError def initialize(tag, prop) super("Missing required tag #{tag} set by property #{prop}") end end end
Version data entries
104 entries across 104 versions & 2 rubygems