Add generic and specific error codes and messages