daw_error/v1 allows one cause: decide how to report several #25

Open
opened 2026-11-24 13:54:53 +01:00 by michael · 0 comments
Owner

Goal

A documented decision for several equal causes.

Reason

daw_error/v1 has a single cause. fragjan currently flattens several equal causes (faults of a module scan) into data.detail text and loses their structure (DAW/fragjan#157).

Scope

  • decide: keep flattening, allow a list of causes, or wrap them in a parent error
  • record the decision in the contract

Acceptance criteria

  • decision recorded in the contract
  • fragjan adapted if the contract changes

Refs DAW/fragjan#157

## Goal A documented decision for several equal causes. ## Reason daw_error/v1 has a single `cause`. fragjan currently flattens several equal causes (faults of a module scan) into `data.detail` text and loses their structure (DAW/fragjan#157). ## Scope - decide: keep flattening, allow a list of causes, or wrap them in a parent error - record the decision in the contract ## Acceptance criteria - [ ] decision recorded in the contract - [ ] fragjan adapted if the contract changes Refs DAW/fragjan#157
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DAW/daw-contracts#25
No description provided.