Compare commits
1 Commits
583c4b4642
...
ffc7c1e89b
Author | SHA1 | Date | |
---|---|---|---|
ffc7c1e89b |
@ -35,12 +35,11 @@ function Open(p string) (*File, error) {
|
||||
|
||||
**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 {
|
||||
error
|
||||
Errs() []error
|
||||
type Errors struct {
|
||||
Errs []error
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user