metaerr

package
v0.42.18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap

func Wrap(err error) error

Wrap wraps arbitrary error. Returns nil if err == nil.

Types

type Error

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

Error is a wrapper for SSD-related errors. In our model it unites metabase, pilorama and write-cache errors.

func New

func New(msg string) Error

New returns simple error with a provided error message.

func (Error) Error

func (e Error) Error() string

Error implements the error interface.

func (Error) Unwrap

func (e Error) Unwrap() error

Unwrap returns underlying error.

Jump to

Keyboard shortcuts

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