We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3fee6e commit 38b27f3Copy full SHA for 38b27f3
file/error.go
@@ -10,7 +10,7 @@ type Error struct {
10
Location
11
Message string
12
Snippet string
13
- Prev error
+ Prev error
14
}
15
16
func (e *Error) Error() string {
@@ -45,7 +45,6 @@ func (e *Error) Bind(source *Source) *Error {
45
return e
46
47
48
-
49
func (e *Error) Unwrap() error {
50
return e.Prev
51
@@ -54,7 +53,6 @@ func (e *Error) Wrap(err error) {
54
53
e.Prev = err
55
56
57
58
func (e *Error) format() string {
59
if e.Location.Empty() {
60
return e.Message
0 commit comments