Below mentioned are some general error codes which gives information to user about a status or error encountered in server. There are many different error codes that a server can deliver, but below are some more common codes:

400 - for Bad Request error
401 - for unauthorized Access error.
403 - for Forbidden error. (permission error).
404 - Page not found error.
500 - for Internal Server Error.