Documentation
¶
Overview ¶
Package twirperrors provides functions to adapt errors of the github.com/twitchtv/twirp package 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 ¶
Adapt checks the type of err is a twirp error, and 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.
Click to show internal directories.
Click to hide internal directories.