localerr

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package localerr contains localizable errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap

func Wrap(p *message.Printer, ref message.Reference, a ...any) error

Wrap returns an error that translates its reference string and wraps any arguments that are also errors. Unlike fmt.Errorf it does not check the verbs and will wrap errors even if they do not use %w.

Types

This section is empty.

Jump to

Keyboard shortcuts

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