add error constants
minor