General error codes: Added code 5 for illegal access to write-protected fields