add error codes on bree