error

package
v0.0.0-...-c510420 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package error provides interfaces for errors to implement and behavior based error checking helper functions. This helps in keeping the errors decoupled from the package APIs. Refer https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully for detailed explanation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMultipleInstancesFound

func IsMultipleInstancesFound(err error) (bool, int)

IsMultipleInstancesFound checks if the given error is due to multiple instances of a target object type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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