package errd
Import Path
github.com/coder/websocket/internal/errd (on go.dev)
Dependency Relation
imports one package, and imported by one package
Involved Source Files
wrap.go
Package-Level Functions (only one)
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.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |