util

package
v0.78.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: MIT Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsConditionalCheckFailed

func IsConditionalCheckFailed(err error) bool

IsConditionalCheckFailed returns whether or not the error indicates the that the conditional expression failed.

func MapConditionalCheckFailed

func MapConditionalCheckFailed(err, desired error) error

MapConditionalCheckFailed returns the desired error if the provied error is a conditional expression failed error. Otherwise the original error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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