SpanStatusError type

Status che rappresenta un errore che può essere inviato a TracingSpan.setStatus

type SpanStatusError = { error?: Error | string; status: "error" }