GetErrors returns the list of observed errors.
()
| 67 | |
| 68 | // GetErrors returns the list of observed errors. |
| 69 | func (e *Errors) GetErrors() []*Error { |
| 70 | return e.errors[:] |
| 71 | } |
| 72 | |
| 73 | // Append creates a new Errors object with the current and input errors. |
| 74 | func (e *Errors) Append(errs []*Error) *Errors { |
no outgoing calls