Throw error when no actions