Errs adds the field key with errs as an array of serialized errors to the *Event context.
(key string, errs []error)
| 443 | // Errs adds the field key with errs as an array of serialized errors to the |
| 444 | // *Event context. |
| 445 | func (e *Event) Errs(key string, errs []error) *Event { |
| 446 | if e == nil { |
| 447 | return e |
| 448 | } |
| 449 | arr := e.CreateArray().Errs(errs) |
| 450 | return e.Array(key, arr) |
| 451 | } |
| 452 | |
| 453 | // Err adds the field "error" with serialized err to the *Event context. |
| 454 | // If err is nil, no field is added. |