Documentation ¶
Index ¶
- Constants
- func NewExchangeKnowledgeBaseFailErr(err exchangeKnowledgeBaseErr) error
- func NewObjectNotFoundErr(uuid string) error
- func NewStorageFailErr(err storageErr) error
- func NewUnexpectedUseCaseFailErr(err error) error
- func NewUnsupportedFormatXMLVersionErr(version string) error
- func WrapExchangeErr(err error) error
- func WrapStorageFailErr(err error) error
- type UseCaseErr
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 NewStorageFailErr ¶
func NewStorageFailErr(err storageErr) error
func WrapExchangeErr ¶
func WrapStorageFailErr ¶
Types ¶
type UseCaseErr ¶
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
Click to show internal directories.
Click to hide internal directories.