Tim Hunt and Paul Holden gave me the answer on the dev chat. Warm thanks to both of you!
Solution: just respect the basic usage for mforms, specifically call "display()" after "get_data()". Then the errors get displayed automatically.
See https://docs.moodle.org/dev/lib/formslib.php_Usage, especially section "Basic Usage in A Normal Page".