- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ErrorToErr (0.1 sec)
-
internal/config/errors-utils.go
u := Err{ msg: msg, action: action, hint: hint, } if err != nil { u.detail = err.Error() } return u } } // ErrorToErr inspects the passed error and transforms it // to the appropriate UI error. func ErrorToErr(err error) Err { if err == nil { return Err{} } // If this is already a Err, do nothing if e, ok := err.(Err); ok { return e }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0)