reworked error codes so i could dynamically add them to the documentation page