Align module_stub() error prefix with net-standard format #39

Open
opened 2026-07-25 18:53:39 +02:00 by michael · 0 comments
Owner

Goal

Align the module_stub() error message in daw.common/init.lua with the
naming convention now used consistently across newer facades (see
DAW/daw-lua-net#5): submodule name only, no library-namespace prefix.

Change

Before:

[ERROR] daw.common: <name> not available: <load_err>

After:

[ERROR] <name>: submodule not available (<load_err>)

Why now, as a patch

Flagged as a non-blocking observation during the original json/init.lua
review, deferred without a tracking issue at the time. Text-only change,
no signature or behavior change -- not a breaking change, safe as a
2.0.x patch.

Acceptance criteria

  • module_stub() error format updated
  • make test green on Lua 5.1 and 5.4
  • fragjan code . clean

Refs: DAW/daw-lua-net#5

## Goal Align the module_stub() error message in daw.common/init.lua with the naming convention now used consistently across newer facades (see DAW/daw-lua-net#5): submodule name only, no library-namespace prefix. ## Change Before: ``` [ERROR] daw.common: <name> not available: <load_err> ``` After: ``` [ERROR] <name>: submodule not available (<load_err>) ``` ## Why now, as a patch Flagged as a non-blocking observation during the original json/init.lua review, deferred without a tracking issue at the time. Text-only change, no signature or behavior change -- not a breaking change, safe as a 2.0.x patch. ## Acceptance criteria - [ ] module_stub() error format updated - [ ] make test green on Lua 5.1 and 5.4 - [ ] fragjan code . clean Refs: DAW/daw-lua-net#5
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-lua-common#39
No description provided.