errors

package
v0.1.55 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployError added in v0.1.17

func DeployError(err error) error

func ErrorCode added in v0.1.25

func ErrorCode(err error) string

func InternalServerError

func InternalServerError(err error) error

func InternalServerErrorWithMessage added in v0.1.13

func InternalServerErrorWithMessage(msg string, err error) error

func PermissionDenied

func PermissionDenied(msg string) error

func ResourceInUseError added in v0.1.27

func ResourceInUseError(resourceId string, usedByResourceId string) error

func ResourceNotFound added in v0.1.13

func ResourceNotFound(resourceId string) error

func UserAlreadyExists added in v0.1.38

func UserAlreadyExists(emailAddress string) error

func ValidationError added in v0.1.44

func ValidationError(err validate.ValidationError) error

func ValidationErrors

func ValidationErrors(errs []validate.ValidationError) error

func WrappingErrors added in v0.1.25

func WrappingErrors[InT any, OutT any](f func(context.Context, InT) (OutT, error)) func(context.Context, InT) (OutT, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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