Added some better response code

Added some more response codes and throws message format exceptions