When create a trigger with error, it shows message correcttly added the trigger.