# Functions
New returns an Error object described by the code, message, and origErr.
NewBatchError returns an BatchedErrors with a collection of errors as an array of errors.
NewRequestFailure returns a new request error wrapper for the given Error provided.
SprintError returns a string of the formatted error code.
# Interfaces
BatchedErrors is a batch of errors which also wraps lower level errors with code, message, and original errors.
BatchError is a batch of errors which also wraps lower level errors with code, message, and original errors.
An Error wraps lower level errors with code, message and an original error.
A RequestFailure is an interface to extract request failure information from an Error such as the request ID of the failed request returned by a service.