Added Error codes and meanings