<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [INestedErrorCtorConfig](./rc-js-util.inestederrorctorconfig.md)

## INestedErrorCtorConfig interface

The config used to create `NestedError` constructors, used by [getNestedErrorCtor()](./rc-js-util.getnestederrorctor.md)<!-- -->.

**Signature:**

```typescript
export interface INestedErrorCtorConfig<ILocalization> 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[defaultError](./rc-js-util.inestederrorctorconfig.defaulterror.md)


</td><td>


</td><td>

ILocalization


</td><td>

In the event that an error is not an extensions of this class, this message will be used.


</td></tr>
<tr><td>

[getTxFallback](./rc-js-util.inestederrorctorconfig.gettxfallback.md)


</td><td>


</td><td>

(localization: ILocalization) =&gt; string


</td><td>

Given a localization, convert it to a somewhat human-readable string. This should NOT be using any localization system if there's any chance it can fail to load. This is intended for cases where the localization system is not available.


</td></tr>
</tbody></table>
