<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [INestedError](./rc-js-util.inestederror.md) &gt; [composeErrorMessages](./rc-js-util.inestederror.composeerrormessages.md)

## INestedError.composeErrorMessages() method

Create a localized error message that describes what went wrong, and includes some minimal technical detail that's likely to describe the root cause.

**Signature:**

```typescript
composeErrorMessages(): IErrorSummary<TLocalization>;
```
**Returns:**

[IErrorSummary](./rc-js-util.ierrorsummary.md)<!-- -->&lt;TLocalization&gt;

