errors.js is now consistent with error hierarchy from the Manual

[ci skip]
This tag has no release notes.