description | title | ms.date | ms.custom |
---|---|---|---|
Learn more about: Error handling functions |
Error handling functions |
7/15/2024 |
nonautomated-date |
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 an error record from the provided text values for reason, message, detail, and error code. |