docs/typeioc.circulardependencyerror.(constructor).md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [typeioc](./typeioc.md) > [CircularDependencyError](./typeioc.circulardependencyerror.md) > [(constructor)](./typeioc.circulardependencyerror.(constructor).md)
## CircularDependencyError.(constructor)
Constructor
<b>Signature:</b>
```typescript
constructor(serviceName: string, data?: {});
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| serviceName | <code>string</code> | service name |
| data | <code>{}</code> | optional additional information about the error |