Syntax
Error.Record(reason as text, optional message as nullable text, optional detail as any) as record
Description
Returns an error record from the provided text values for reason, message and detail.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference