Added some error codes