errorHandle::deprecated() is now a global helper function called deprecated()
This is to fix the ongoing issue where errorHandle hasn't been loaded yet when something is trying to call deprecated.
the helper function effectivly wraps errorHandle but provides a fallback in cases where errorHandle has not been loaded yet.