awserrors

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2018 License: BSD-2-Clause, MIT Imports: 2 Imported by: 0

Documentation

Overview

Package awserrors provides functions to adapt errors of the AWS Go SDK into errors compatible with the errors-go package.

Importing this package installs the aws errors adapters on the global set of adapters of the parent errors-go package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Adapt

func Adapt(err error) (error, bool)

Adapt checks the type of err and if it matches one of the error types or one of the error values of the standard net package, adapts it to make error types discoverable using the errors.Is function.

This function is automatically installed as a global adapter when importing the neterrors package, a program likely should use errors.Adapt instead of calling this adapter directly.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL