Documentation ¶ Overview ¶ Package localerr contains localizable errors. Index ¶ func Wrap(p *message.Printer, ref message.Reference, a ...any) error 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. Source Files ¶ View all Source files localerr.go Click to show internal directories. Click to hide internal directories.