dataerr

package
v0.0.0-...-8f66fda Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 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 KeyValueNotFoundError

type KeyValueNotFoundError struct {
	gomerr.Gomerr
	KeyName     string
	KeyFields   []string
	Persistable data.Persistable `gomerr:"include_type"`
}

func KeyValueNotFound

func KeyValueNotFound(keyName string, keyFields []string, persistable data.Persistable) *KeyValueNotFoundError

type NoIndexMatchError

type NoIndexMatchError struct {
	gomerr.Gomerr
	AvailableIndexes map[string]interface{}
	Queryable        data.Queryable `gomerr:"include_type"`
}

func NoIndexMatch

func NoIndexMatch(availableIndexes map[string]interface{}, queryable data.Queryable) *NoIndexMatchError

type PersistableNotFoundError

type PersistableNotFoundError struct {
	gomerr.Gomerr
	TypeName string
	Key      interface{}
}

func PersistableNotFound

func PersistableNotFound(typeName string, key interface{}) *PersistableNotFoundError

type StoreError

type StoreError struct {
	gomerr.Gomerr
	Operation string
	Data      interface{} `gomerr:"include_type"`
}

func Store

func Store(operation string, data interface{}) *StoreError

Jump to

Keyboard shortcuts

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