You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
355 B
18 lines
355 B
package v4a
|
|
|
|
import "fmt"
|
|
|
|
// SigningError indicates an error condition occurred while performing SigV4a signing
|
|
type SigningError struct {
|
|
Err error
|
|
}
|
|
|
|
func (e *SigningError) Error() string {
|
|
return fmt.Sprintf("failed to sign request: %v", e.Err)
|
|
}
|
|
|
|
// Unwrap returns the underlying error cause
|
|
func (e *SigningError) Unwrap() error {
|
|
return e.Err
|
|
}
|