aws / aws-dax-go

AWS DAX SDK for the Go programming language. https://aws.amazon.com/dynamodb/dax
Apache License 2.0
47 stars 48 forks source link

Making DaxTransactionCanceledFailure exported #22

Closed dmartin1 closed 4 years ago

dmartin1 commented 4 years ago

Issue #, if available: Issue $14

Description of changes: Moved DaxTransactionCanceledFailure and DaxRequestFailure to an exported daxerr package so that transaction cancellation reasons can be accessed.

Many of the highlighted changes are import renames necessary to ensure functional code & tests since they are internal package imports. Thus, they are not necessary when merging in the more substantive change of creating daxerr/error.go

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

lyaoxion commented 4 years ago

As mentioned in #14, the proper way to expose CancellationReasons is available in v1.2.0. Closing this PR.