checkdoc-next-message-error is a compiled Lisp function in `checkdoc.el'.

(checkdoc-next-message-error ENABLE-FIX)

Find and return the next checkdoc message related error list, or nil.
Only text for error and `y-or-n-p' strings are checked. See
`checkdoc-next-error' for details on the return value.
Argument ENABLE-FIX turns on the auto-fix feature. This argument
assumes that the cursor is already positioned to perform the fix.