Constructor
new IRRefusal(reason, detail)
Parameters:
| Name | Type | Description |
|---|---|---|
reason |
string | A RefusalReason. |
detail |
string | What in the template caused it. |
- Source:
A construct the IR builder declined to represent.
Thrown rather than returned because a refusal aborts the whole template -- there is no partial IR. A half-built IR would describe a template that does not exist.
| Name | Type | Description |
|---|---|---|
reason |
string | A RefusalReason. |
detail |
string | What in the template caused it. |