feat(iferr): add *-message* support
This commit is contained in:
parent
bb31271311
commit
a76ec8dfdc
5 changed files with 43 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue