feat(iferr): add *-message* support

This commit is contained in:
Oleksandr Smirnov 2025-03-03 14:19:46 +02:00
parent bb31271311
commit a76ec8dfdc
No known key found for this signature in database
5 changed files with 43 additions and 1 deletions

View file

@ -66,6 +66,11 @@ local default_config = {
-- default tags to add to struct fields
default_tag = "json",
},
iferr = {
-- choose a custom error message
---@type string|nil
message = nil,
},
}
--minidoc_afterlines_end