Make the errors package more reusable [#3421]
Closes #3421 (closed). Allows the errors package to be reused with other sets of status codes.
Changelog: refactor
Closes #3421 (closed). Allows the errors package to be reused with other sets of status codes.
Changelog: refactor