Revert "Renamed 404 and 500 functions to remove duplicate method name"

This reverts commit b6a270c2c4e16a32f07f78892c1019c8f2af9e95.
Revert "Revert "Renamed 404 and 500 functions to remove duplicate method name""

This reverts commit 359090b5a1767b314fd9f70c1bd9a0fe640f0850.
um
merging