Hotfix for overriding default errors