Error.Record(reason as text, optional message as nullable text, optional detail as any, optional parameters as nullable list) as record
从为原因、消息和详细信息提供的文本值返回错误记录。