Actually added the throw error method.