Compare commits
1 Commits
583c4b4642
...
ffc7c1e89b
Author | SHA1 | Date | |
---|---|---|---|
ffc7c1e89b |
@ -35,12 +35,11 @@ function Open(p string) (*File, error) {
|
|||||||
|
|
||||||
**Errors**
|
**Errors**
|
||||||
|
|
||||||
An `Errors` interface that represents multiple errors (but still adheres to the `error` interface)
|
An `Errors` struct that represents multiple errors (but still adheres to the `error` interface)
|
||||||
|
|
||||||
```
|
```
|
||||||
type Errors interface {
|
type Errors struct {
|
||||||
error
|
Errs []error
|
||||||
Errs() []error
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user