Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 791 Bytes

error-handling.md

File metadata and controls

16 lines (14 loc) · 791 Bytes
description title ms.date ms.custom
Learn more about: Error handling functions
Error handling functions
7/15/2024
nonautomated-date

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 an error record from the provided text values for reason, message, detail, and error code.