cosmoserror

package
v28.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInternal       = errors.New("internal error")
	ErrInvalidRequest = errors.New("invalid request")
	ErrNotFound       = errors.New("not found")
)

Functions

func IsNotFound

func IsNotFound(err error) bool

IsNotFound returns if the given error is "not found".

func Unwrap

func Unwrap(err error) error

Unwrap checks if an error contains a given grpc error code and returns the corresponding simple error type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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