Refactored throwing Strings into throwing Q.Error objects