# `HoloScopeError.constructor`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

Constructor of [`HoloScopeError`](HoloScopeError.md) · stable · since 2.0.0

```ts
constructor(op: OpId, member: string, fix: string, hook?: string);
```

As the runtime builds it; `hook` names the [`beforeCommit`](Session.beforeCommit.md) function on the stack (else the
misuse was in a transaction's `work`). Public so app tests can build one.

**Default:** hook undefined

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `constructor` names no product |
| 2. A precedent | not recorded: no ledger row (coverage.json) names this member or its owner |
| 3. Two apps, or labs | pass: 6 apps (fleet cross-check: app-bcb7ef21da, app-e61a0b42ad, app-f3598fad77, app-fb16dd1985, app-fd09090420, configurator-template) |
| 4. The cheaper fix first | not recorded per member (Appendix B decides it per need) |
