you should add a ``trigger_error`` call in the constructor