drop errors constant
Merge pull request #9949 from vipulnsward/drop_yaml_error_constant

drop errors constant