For an overview of the Warning & Error Codes have a look here. LINK Updaten
Warning & Error codes are displayed directly in Apex
Furthermore you can find warning and error log files - if they occur - in the result folder in your workspace (log_error.log & log_warning.log)