Versions in this module Expand all Collapse all v0 v0.199.0 Jan 14, 2025 Changes in this version + var ErrTracedError = errors.New("asciichgolangpublic TracedError base") + var ErrTracedErrorEmptyString = errors.New("asciichgolangpublic TracedError empty string") + var ErrTracedErrorNil = errors.New("asciichgolangpublic TracedError nil") + var ErrTracedErrorNotImplemented = errors.New("asciichgolangpublic TracedError not implemented") + func TracedError(errorMessageOrError interface{}) (tracedError error) + func TracedErrorEmptyString(stringVarName string, errorToUnwrap ...error) (tracedError error) + func TracedErrorNil(nilVarName string) (tracedError error) + func TracedErrorNilf(formatString string, args ...interface{}) (tracedError error) + func TracedErrorNotImplemented() (tracedError error) + func TracedErrorf(formatString string, args ...interface{}) (tracedError error) + type ErrorsService struct + func Errors() (e *ErrorsService) + func NewErrorsService() (e *ErrorsService) + func (e *ErrorsService) AddErrorToUnwrapToTracedError(tracedError error, errorToAdd error) error + func (e *ErrorsService) GetAsTracedError(errorToConvert error) (tracedError *TracedErrorType, err error) + func (e *ErrorsService) MustGetAsTracedError(errorToConvert error) (tracedError *TracedErrorType) + func (e ErrorsService) IsEmptyStringError(err error) (isEmptyStringError bool) + func (e ErrorsService) IsNilError(err error) (IsNilError bool) + func (e ErrorsService) IsNotImplementedError(err error) (isNotImplementedError bool) + func (e ErrorsService) IsTracedError(err error) (isTracedError bool) + func (e ErrorsService) UnwrapRecursive(errorToUnwrap error) (errors []error) + type TracedErrorType struct + func NewTracedErrorType() (t *TracedErrorType) + func (t *TracedErrorType) GetErrorMessage() (errorMessage string, err error) + func (t *TracedErrorType) GetErrorsToUnwrap() (errorsToUnwrap []error, err error) + func (t *TracedErrorType) GetFormattedError() (formattedError error, err error) + func (t *TracedErrorType) GetFunctionCalls() (functionCalls []string, err error) + func (t *TracedErrorType) MustGetErrorMessage() (errorMessage string) + func (t *TracedErrorType) MustGetErrorsToUnwrap() (errorsToUnwrap []error) + func (t *TracedErrorType) MustGetFormattedError() (formattedError error) + func (t *TracedErrorType) MustGetFunctionCalls() (functionCalls []string) + func (t *TracedErrorType) MustSetErrorsToUnwrap(errorsToUnwrap []error) + func (t *TracedErrorType) MustSetFormattedError(formattedError error) + func (t *TracedErrorType) MustSetFunctionCalls(functionCalls []string) + func (t *TracedErrorType) SetErrorsToUnwrap(errorsToUnwrap []error) (err error) + func (t *TracedErrorType) SetFormattedError(formattedError error) (err error) + func (t *TracedErrorType) SetFunctionCalls(functionCalls []string) (err error) + func (t TracedErrorType) Error() (errorMessage string) + func (t TracedErrorType) Unwrap() (errors []error)