package
module
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Sep 13, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 15
Opens a new window with list of known importers.
README
¶
errors

A simple wrapper around stdlib errors package, that adds a Wrap function.
go get maragu.dev/errors
Made in 🇩🇰 by maragu, maker of online Go courses.
Documentation
¶
Package errors provides Wrap in addition to the functions in the errors package.
It also provides Newf which is a wrapper around fmt.Errorf.
Wrap an error with a message, or return nil if err is nil.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.