drop errors constant

Drop unnecessary constant creation