errors

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package errors handles errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap added in v0.15.1

func Wrap(err error, message string) error

Types

type Error

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

Error represents an error

func New

func New(message string, args ...interface{}) *Error

New returns error handler.

func (Error) Error

func (e Error) Error() string

Error returns the error message.

Jump to

Keyboard shortcuts

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