UI adapters return describe() text instead of the error object #166

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

Goal

UI adapters return the daw_error/v1 object; text is produced at the output boundary.

Reason

adapters/ui/init.lua (load_language, render, build_usage) and adapters/ui/context.lua (check_config) return describe() text; structure (code, data, cause) is lost. context.lua is INTERIM, see DAW/fragjan#149 and DAW/fragjan#151.

Scope

  • return the object at the four sites
  • describe it in commands/main

Acceptance criteria

  • all sites return the object
  • tests adapted

Refs DAW/fragjan#157

## Goal UI adapters return the daw_error/v1 object; text is produced at the output boundary. ## Reason `adapters/ui/init.lua` (`load_language`, `render`, `build_usage`) and `adapters/ui/context.lua` (`check_config`) return `describe()` text; structure (code, data, cause) is lost. `context.lua` is INTERIM, see DAW/fragjan#149 and DAW/fragjan#151. ## Scope - return the object at the four sites - describe it in commands/main ## Acceptance criteria - [ ] all sites return the object - [ ] 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#166
No description provided.