removed unnecessary lifetimes from new error enums