OptionalaxiosThe full Axios response object. Present for api_mwbot errors with a code of
http (including specific types such as timeout (408)), empty, or invalidjson.
OptionalerrorAdditional properties in the response of a failed API request, excluding code and info.
OptionalinvalidPresent when a method receives an array parameter (e.g., Mwbot.purge) containing values of incorrect types.
OptionalkeysPresent when Mwbot.init fails to initialize certain wg-variables.
OptionalmodifiedPresent when a ModificationPredicate returns a value that is neither a string nor null.
This property records the index and the corresponding unexpected value encountered.
OptionalresponsePresent when the API response includes an error that the framework cannot process.
OptionaltitlePresent when the error involves a processed page title, such as in Mwbot.read.
OptionaltransformedPresent when the callback return value from Mwbot.edit is invalid.
Interface for the MwbotError.data property.