Sha256: 4c763637d75596a0ee66670477b159df8909904d0d20adcaa8d9c0d6156a9383
Contents?: true
Size: 890 Bytes
Versions: 9
Compression:
Stored size: 890 Bytes
Contents
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. require 'aws/lazy_error_classes' require 'aws/sqs/client/xml' module AWS class SQS # @private module Errors BASE_ERROR_GRAMMAR = Client::XML::BaseError include LazyErrorClasses def self.error_class(code) super(code.sub(/^AWS\.SimpleQueueService\./, '')) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems