OptionalmessageMessage template (sprintf-compatible) used for the error.
OptionalmessageParameters that will be interpolated into the formatted message.
OptionalparentUnderlying error that triggered the current failure.
OptionalpayloadAdditional structured data attached to the error instance.
Configuration shared by AbstractGenericError subclasses.
These options mirror the historical constructor contract from the CommonJS implementation while making the formatting hooks explicit.