Added error code to the exception message