logicerr

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Error = errors.New("logical error")

Error is wrapped to highlight the business logic errors.

Functions

func New

func New(msg string) error

New returns simple error with a provided error message.

func Wrap

func Wrap(err error) error

Wrap wraps arbitrary error into a logical one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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