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