mrcoreerr

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorHandler

type ErrorHandler struct{}

ErrorHandler - comment struct.

func NewErrorHandler

func NewErrorHandler() *ErrorHandler

NewErrorHandler - создаёт объект ErrorHandler.

func (*ErrorHandler) Process

func (h *ErrorHandler) Process(ctx context.Context, err error)

Process - comment method.

type UsecaseErrorWrapper

type UsecaseErrorWrapper struct{}

UsecaseErrorWrapper - comment struct.

func NewUsecaseErrorWrapper

func NewUsecaseErrorWrapper() *UsecaseErrorWrapper

NewUsecaseErrorWrapper - создаёт объект UsecaseErrorWrapper.

func (*UsecaseErrorWrapper) IsNotFoundError

func (h *UsecaseErrorWrapper) IsNotFoundError(err error) bool

IsNotFoundError - comment method.

func (*UsecaseErrorWrapper) WrapErrorEntityFailed

func (h *UsecaseErrorWrapper) WrapErrorEntityFailed(err error, entityName string, entityData any) error

WrapErrorEntityFailed - comment method.

func (*UsecaseErrorWrapper) WrapErrorEntityNotFoundOrFailed

func (h *UsecaseErrorWrapper) WrapErrorEntityNotFoundOrFailed(err error, entityName string, entityData any) error

WrapErrorEntityNotFoundOrFailed - comment method.

func (*UsecaseErrorWrapper) WrapErrorFailed

func (h *UsecaseErrorWrapper) WrapErrorFailed(err error, source string) error

WrapErrorFailed - comment method.

func (*UsecaseErrorWrapper) WrapErrorNotFoundOrFailed

func (h *UsecaseErrorWrapper) WrapErrorNotFoundOrFailed(err error, source string) error

WrapErrorNotFoundOrFailed - comment method.

Jump to

Keyboard shortcuts

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