errors

package
v0.0.0-...-499b85e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAlreadyExistsErr

func IsAlreadyExistsErr(e error) bool

IsAlreadyExistsErr checks whether an error is of type AlreadyExistsErr.

func IsNotFoundErr

func IsNotFoundErr(e error) bool

IsNotFoundErr checks whether an error is of type IsNotFoundErr.

Types

type AlreadyExistsErr

type AlreadyExistsErr struct {
	TypeName, Key, Value string
}

AlreadyExistsErr implements the Error interface.

func (*AlreadyExistsErr) Error

func (e *AlreadyExistsErr) Error() string

type NotFoundErr

type NotFoundErr struct {
	TypeName, Key, Value string
}

NotFoundErr implements the Error interface.

func (*NotFoundErr) Error

func (e *NotFoundErr) Error() string

Jump to

Keyboard shortcuts

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