Adding error codes and descriptions