WIP: Autogenerated error constants