Understand Error Handling Functions in Power Query M Language, vital for handling errors in your data manipulation tasks. This page provides a comprehensive list and descriptions of Error Handling Functions available in the M Language.
Error Handling Functions
Function | Description | Input | Output |
---|---|---|---|
Diagnostics.ActivityId | Returns an opaque identifier for the currently-running evaluation. | Text | Text |
Diagnostics.Trace | Writes a trace entry, if tracing is enabled, and returns the value. | Number | Any |
Error.Record | Returns an error record from the provided text values for reason, message and detail. | Text | Record |
