Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyExistsErr ¶
IsAlreadyExistsErr checks whether an error is of type AlreadyExistsErr.
func IsNotFoundErr ¶
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
Click to show internal directories.
Click to hide internal directories.