ferrors

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadRequest   = errors.New("bad request, check params and payload provided")
	ErrInvalidState = errors.New("invalid process instance state")
	ErrNotFound     = errors.New("process instance not found")
	ErrTimeout      = errors.New("operation timed out")
	ErrConflict     = errors.New("conflict")
	ErrUnavailable  = errors.New("service unavailable")
	ErrInternal     = errors.New("internal error")
)

Functions

func FromDomain

func FromDomain(err error) error

func HandleAndExit

func HandleAndExit(log *slog.Logger, noErrCodes bool, err error)

func HandleAndExitOK

func HandleAndExitOK(log *slog.Logger, message string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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