logicerr

package
v0.44.0-rc.8 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logical

type Logical struct {
	// contains filtered or unexported fields
}

Logical is a wrapper for logical errors.

func New

func New(msg string) Logical

New returns simple error with a provided error message.

func Wrap

func Wrap(err error) Logical

Wrap wraps arbitrary error into a logical one.

func (Logical) Error

func (e Logical) Error() string

Error implements the error interface.

func (Logical) Unwrap

func (e Logical) Unwrap() error

Unwrap returns underlying error.

Jump to

Keyboard shortcuts

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