throw an error when triggered undefined action