package errd
import "nhooyr.io/websocket/internal/errd"
Index ¶
Functions ¶
func Wrap ¶
Wrap wraps err with fmt.Errorf if err is non nil. Intended for use with defer and a named error return. Inspired by https://github.com/golang/go/issues/32676.
Source Files ¶
wrap.go
- Version
- v1.8.17 (latest)
- Published
- Aug 10, 2024
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 1 hour ago –
Tools for package owners.