errors

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlreadyExistsErr

type AlreadyExistsErr struct {
	TypeName, Value string
	IndexBy         option.IndexBy
}

AlreadyExistsErr implements the Error interface.

func (*AlreadyExistsErr) Error

func (e *AlreadyExistsErr) Error() string

func (*AlreadyExistsErr) IsAlreadyExists added in v2.1.0

func (e *AlreadyExistsErr) IsAlreadyExists()

IsAlreadyExists implements the IsAlreadyExists interface.

type NotFoundErr

type NotFoundErr struct {
	TypeName, Value string
	IndexBy         option.IndexBy
}

NotFoundErr implements the Error interface.

func (*NotFoundErr) Error

func (e *NotFoundErr) Error() string

func (*NotFoundErr) IsNotFound added in v2.1.0

func (e *NotFoundErr) IsNotFound()

IsNotFound implements the IsNotFound interface.

Jump to

Keyboard shortcuts

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