rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
18 lines (10 loc) • 508 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [INestedError](./rc-js-util.inestederror.md) > [causeToString](./rc-js-util.inestederror.causetostring.md)
## INestedError.causeToString() method
Attempt to serialize `causedBy`<!-- -->, where this is not possible, undefined is returned.
**Signature:**
```typescript
causeToString(): string | undefined;
```
**Returns:**
string \| undefined