## OperationOutcomeError.(constructor) [​](/content/docs/sdk/core.operationoutcomeerror._constructor_/index.html)

Constructs a new instance of the `OperationOutcomeError` class

**Signature:**

```typescript
constructor(outcome: OperationOutcome, options?: ErrorOptions);
```

## Parameters [​](/content/docs/sdk/core.operationoutcomeerror._constructor_#parameters/index.html)

| Parameter | Type | Description |
| --- | --- | --- |
| outcome | OperationOutcome |  |
| options | ErrorOptions | _(Optional)_ |
