(
defect: unknown,
annotations = constEmptyAnnotations
)
| 289 | export class Die extends ReasonBase<"Die"> implements Cause.Die { |
| 290 | readonly defect: unknown |
| 291 | constructor( |
| 292 | defect: unknown, |
| 293 | annotations = constEmptyAnnotations |
| 294 | ) { |
| 295 | super("Die", annotations, defect) |
| 296 | this.defect = defect |
| 297 | } |
| 298 | override toString() { |
| 299 | return `Die(${format(this.defect)})` |
| 300 | } |
nothing calls this directly
no outgoing calls
no test coverage detected