errors

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyProviderName     = errors.New("empty provider name isn't allowed")
	ErrProviderNotRegistered = errors.New("provider wasn't registered")
	ErrLoggerPointerIsNil    = errors.New("pointer to logger is nil")
	ErrEmptyConnectionName   = errors.New("empty connection name isn't allowed")
	ErrBadTypeOfProvider     = errors.New("bad type of provider")

	ErrEmptyEnityName     = errors.New("empty enity name is not allowed")
	ErrEnityDoesNotExists = errors.New("enity does not exist")
)

Functions

func ErrInvalidEnityOptions

func ErrInvalidEnityOptions(iface interface{}) error

func ErrInvalidEnityPointer

func ErrInvalidEnityPointer(iface interface{}) error

func ErrProviderAlreadyRegistered

func ErrProviderAlreadyRegistered(name string) error

func ObjName

func ObjName(iface interface{}) string

ObjName return object name for passing it to errors messages

Types

This section is empty.

Jump to

Keyboard shortcuts

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