module Aws::Errors::DynamicErrors

This module is mixed into another module, providing dynamic error classes. Error classes all inherit from {ServiceError}.

# creates and returns the class
Aws::S3::Errors::MyNewErrorClass

Since the complete list of possible AWS errors returned by services is not known, this allows us to create them as needed. This also allows users to rescue errors by class without them being concrete classes beforehand.

@api private