Below are the possible constants for errors and warnings. The values in brackets represent the decimal specifications that also appear in debug output.
General Error Codes
General Warnings
Additional Error Codes of the Storage API
Additional Warnings of the Storage API