RecordError will record err as an exception span event for this span
(err error, options ...trace.EventOption)
| 93 | |
| 94 | // RecordError will record err as an exception span event for this span |
| 95 | func (s *Span) RecordError(err error, options ...trace.EventOption) { |
| 96 | s.otelSpan.RecordError(err, options...) |
| 97 | } |
| 98 | |
| 99 | // SetStatus sets the status of the current span. |
| 100 | // If an error is encountered, it records the error and sets span status to Error. |
no outgoing calls
no test coverage detected