added error codes to docs