amError must be loaded before all, to catch even a startup error.
amError must be loaded before all, to catch even a startup error.