func NewRequestFailure(err Error, statusCode int, requestID string) RequestFailure {
	return newRequestError(err, statusCode, requestID)
}
NewRequestFailure returns a new request error wrapper for the given Error
provided.
package errors
type Error interface {
	error
	Code() string
	Message() string
	OrigErr() error
}
func New(code, message string, origErr error) Error {
	var errs []error
	if origErr != nil {
		errs = append(errs, origErr)
	}
	return newBaseError(code, message, errs)
}
type BatchedErrors interface {
	Error
	OrigErrs() []error
}
func NewBatchedErrors(code, message string, errs []error) BatchedErrors {
	return newBaseError(code, message, errs)
}
type RequestFailure interface {
	Error
	StatusCode() int
	RequestID() string
}