core.operationoutcomeerror._constructor_
Home > @medplum/core > OperationOutcomeError > (constructor)
OperationOutcomeError.(constructor)
Constructs a new instance of the OperationOutcomeError class
Signature:
constructor(outcome: OperationOutcome, cause?: unknown);
Parameters
| Parameter | Type | Description |
|---|---|---|
| outcome | OperationOutcome | |
| cause | unknown | (Optional) |