---
description: "Learn more about: Error.Record"
title: "Error.Record"
---
# Error.Record

## Syntax

<pre>
Error.Record(<b>reason</b> as text, optional <b>message</b> as nullable text, optional <b>detail</b> as any, optional <b>parameters</b> as nullable list) as record
</pre>

## About

Returns an error record from the provided text values for reason, message and detail.
