StartTimestamp returns the start time of the operation that caused the error.
()
| 24 | |
| 25 | // StartTimestamp returns the start time of the operation that caused the error. |
| 26 | func (e *ErrorInfo) StartTimestamp() time.Time { |
| 27 | return e.StartTime.Truncate(time.Second) |
| 28 | } |
| 29 | |
| 30 | // EndTimestamp returns the end time of the operation that caused the error. |
| 31 | func (e *ErrorInfo) EndTimestamp() time.Time { |
no outgoing calls