2019-10-07 17:00:27 +03:00

11 lines
337 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$ go run errors.go
f1 worked: 10
f1 failed: can't work with 42
f2 worked: 10
f2 failed: 42 - can't work with it
42
can't work with it
# Посмотрите [эту статью](http://blog.golang.org/2011/07/error-handling-and-go.html)
# в блоге Go для более подробной информации об ошибках.