errors

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: AGPL-3.0, AGPL-3.0-only Imports: 1 Imported by: 0

Documentation

Overview

Package errors contains error wrappers and creators used for precise error messaging in the jbig2 package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(processName, message string) error

Error returns an error wrapped with provided 'process' and with given 'message'.

func Errorf

func Errorf(processName, message string, arguments ...interface{}) error

Errorf returns an error with provided message, arguments and process name.

func Wrap

func Wrap(err error, processName, message string) error

Wrap wraps the error with the message and provided process.

func Wrapf

func Wrapf(err error, processName, message string, arguments ...interface{}) error

Wrapf wraps the error with the formatted message and arguments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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