Added err handler hook
Don't allow useless responseText param on 404