Returns an error record from the provided text values for reason, message and detail.
function (
reason
as text, optionalmessage
as nullable any, optionaldetail
as nullable any) as record
Returns an error record from the provided text values for reason, message and detail.
Error