<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@csstools/css-calc](./css-calc.md) &gt; [ParseErrorWithComponentValues](./css-calc.parseerrorwithcomponentvalues.md) &gt; [(constructor)](./css-calc.parseerrorwithcomponentvalues._constructor_.md)

## ParseErrorWithComponentValues.(constructor)

Constructs a new instance of the `ParseErrorWithComponentValues` class

**Signature:**

```typescript
constructor(message: string, componentValues: Array<ComponentValue>);
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

message


</td><td>

string


</td><td>


</td></tr>
<tr><td>

componentValues


</td><td>

Array&lt;ComponentValue&gt;


</td><td>


</td></tr>
</tbody></table>

