System procedures return informational and error messages. System procedure error messages start at error number 17000.
Error messages from the functions and commands included in a procedure are documented in Troubleshooting and Error Messages Guide.