feat(iferr): add -message support (#89)

* feat(iferr): add *-message* support

* generate docs
This commit is contained in:
Smirnov Oleksandr 2025-03-03 14:22:28 +02:00 committed by GitHub
parent bb31271311
commit d1a21bffab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 48 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