EndTimestamp returns the end time of the operation that caused the error.
()
| 29 | |
| 30 | // EndTimestamp returns the end time of the operation that caused the error. |
| 31 | func (e *ErrorInfo) EndTimestamp() time.Time { |
| 32 | return e.EndTime.Truncate(time.Second) |
| 33 | } |
| 34 | |
| 35 | // Duration returns the duration of the operation. |
| 36 | func (e *ErrorInfo) Duration() time.Duration { |
no outgoing calls