Error handling functions
These functions can be used to trace or construct errors.
Name | Description |
---|---|
Diagnostics.ActivityId | Returns an opaque identifier for the currently-running evaluation. |
Diagnostics.CorrelationId | Returns an opaque identifier to correlate incoming requests with outgoing ones. |
Diagnostics.Trace | Writes a trace message, if tracing is enabled, and returns value. |
Error.Record | Returns a record containing fields Reason, Message, and Detail set to the provided values. The record can be used to raise or throw an error. |
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ