- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Err (0.25 sec)
-
doc/go_spec.html
with the same name as a result parameter is in <a href="#Declarations_and_scope">scope</a> at the place of the return. </p> <pre> func f(n int) (res int, err error) { if _, err := f(n-1); err != nil { return // invalid return statement: err is shadowed } return } </pre> <h3 id="Break_statements">Break statements</h3> <p> A "break" statement terminates execution of the innermost
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.27.md
will no longer return `ErrWaitTimeout` - use the `Interrupted(error) bool` helper to replace checks for `err == ErrWaitTimeout`, or compare specifically to context errors as needed. A future release will make the `ErrWaitTimeout` error private and callers must use `Interrupted()` instead. If you are returning `ErrWaitTimeout` from your own methods, switch to creating a location specific `cause err` and pass it to the new method `wait.ErrorInterrupted(cause) error` which will ensure `Interrupted()` returns...
Plain Text - Registered: Fri May 03 09:05:14 GMT 2024 - Last Modified: Tue Apr 16 15:20:21 GMT 2024 - 434.3K bytes - Viewed (3)