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