lib/peddler/errors/error.rb in peddler-1.6.5 vs lib/peddler/errors/error.rb in peddler-1.6.6

- old
+ new

@@ -1,18 +1,16 @@ # frozen_string_literal: true module Peddler # @api private module Errors - # Known codes + # Here I curate error classes I see value in creating up front so we can use + # them for control flow. All other errors will be created at runtime. CODES = %w[ AccessDenied InternalError InvalidAccessKeyId InvalidMarketplace - InvalidParameterValue - InvalidRequest - MalformedInput QuotaExceeded RequestThrottled ].freeze # @api private