errors

package
v0.7.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExchangeKnowledgeBaseFail   = "ExchangeKnowledgeBaseFail"
	UnsupportedFormatXMLVersion = "UnsupportedFormatXMLVersion"
)
View Source
const (
	ObjectNotFound = "ObjectNotFound"
)
View Source
const (
	StorageFail = "StorageFail"
)
View Source
const (
	UnexpectedUseCaseFail = "UnexpectedUseCaseFail"
)

Variables

This section is empty.

Functions

func NewExchangeKnowledgeBaseFailErr

func NewExchangeKnowledgeBaseFailErr(err exchangeKnowledgeBaseErr) error

func NewObjectNotFoundErr

func NewObjectNotFoundErr(uuid string) error

func NewStorageFailErr

func NewStorageFailErr(err storageErr) error

func NewUnexpectedUseCaseFailErr

func NewUnexpectedUseCaseFailErr(err error) error

func NewUnsupportedFormatXMLVersionErr

func NewUnsupportedFormatXMLVersionErr(version string) error

func WrapExchangeErr

func WrapExchangeErr(err error) error

func WrapStorageFailErr

func WrapStorageFailErr(err error) error

Types

type UseCaseErr

type UseCaseErr struct {
	Stat    string
	Message string
	Err     error
	Dt      map[string]string
}

func (UseCaseErr) Data

func (se UseCaseErr) Data() map[string]string

func (UseCaseErr) Error

func (se UseCaseErr) Error() string

func (UseCaseErr) FromUseCase

func (se UseCaseErr) FromUseCase() bool

func (UseCaseErr) Status

func (se UseCaseErr) Status() string

func (UseCaseErr) Unwrap

func (se UseCaseErr) Unwrap() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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