SpanStatusError type

الحالة تمثل خطأ يمكن إرساله إلى TracingSpan.setStatus

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