in-framework errors now use trigger_error() instead of own error()