package
Version:
v0.0.0-...-113f59a
Opens a new window with list of versions in this module.
Published: Feb 16, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package vizerror provides types and utility funcs for handling visible errors
that are safe to display to end users.
Errorf returns an Error with the specified format and values. It always returns a vizerror.Error.
New returns an error that formats as the given text. It always returns a vizerror.Error.
Wrap wraps err with a vizerror.Error.
Error is an error that is safe to display to end users.
As returns the first vizerror.Error in err's chain.
Error implements the error interface.
Unwrap returns the underlying error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.