Remove the cause-or-detail switch once all sources return error objects #167

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

Goal

Remove if type(x) == "table" then cause else data.detail.

Reason

The switch appears about seven times (runner, core/modules) because external primitives and backends may still return plain strings.

Scope

  • wait until every source returns daw_error/v1
  • remove the switch

Acceptance criteria

  • all sources return objects
  • switch removed, tests adapted

Refs DAW/fragjan#157

## Goal Remove `if type(x) == "table" then cause else data.detail`. ## Reason The switch appears about seven times (runner, core/modules) because external primitives and backends may still return plain strings. ## Scope - wait until every source returns daw_error/v1 - remove the switch ## Acceptance criteria - [ ] all sources return objects - [ ] switch removed, tests adapted 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/fragjan#167
No description provided.