errorx

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound                 = status.Error(10001, "no such element")
	ErrInvalidObjectId          = status.Error(10002, "invalid objectId")
	ErrCommunityIdNotFound      = status.Error(10003, "communityId not found")
	ErrChildCommunityNotAllowed = status.Error(10004, "child community not allowed")
)

Functions

func Switch

func Switch(err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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