Adding some common accessors to grab error codes and messages from the response