We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7896481 commit 9a4f977Copy full SHA for 9a4f977
1 file changed
errors.go
@@ -43,6 +43,17 @@
43
// // unknown error
44
// }
45
//
46
+// Formatted printing of errors
47
+//
48
+// All error values returned from this package implement fmt.Formatter and can
49
+// be formatted by the fmt package. The following verbs are supported
50
51
+// %s print the error. If the error has a Cause it will be
52
+// printed recursively
53
+// %v see %s
54
+// %+v extended format. Each Frame of the error's Stacktrace will
55
+// be printed in detail.
56
57
// Retrieving the stack trace of an error or wrapper
58
59
// New, Errorf, Wrap, and Wrapf record a stack trace at the point they are
0 commit comments