domain

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const AppName = "YeenCloud"
View Source
const ContextCorrelationIdKey = "correlationid"
View Source
const ContextRequestIdKey = "requestid"

Variables

This section is empty.

Functions

func CorrelationId added in v0.2.16

func CorrelationId(ctx context.Context) *string

func RequestId added in v0.2.16

func RequestId(ctx context.Context) *string

func WithCorrelationId added in v0.2.16

func WithCorrelationId(ctx context.Context, correlationId string) context.Context

func WithRequestId added in v0.2.16

func WithRequestId(ctx context.Context, requestId string) context.Context

Types

type ValidationError added in v0.2.16

type ValidationError struct {
	Source           error
	ValidationIssues map[string]string
}

func (ValidationError) Details added in v0.2.16

func (e ValidationError) Details() apperr.ErrorDetails

func (ValidationError) Error added in v0.2.16

func (e ValidationError) Error() string

func (ValidationError) Unwrap added in v0.2.16

func (e ValidationError) Unwrap() error

Jump to

Keyboard shortcuts

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