I am writing a trigger for controlling a field. The script works as I want but my problem is in the raiseerror. I want the trigger to work without showing the error message to the user.
Can anyone who knows what is the equivalent of raiseerror without showing the error message to the user. 
DECLARE @val varchar(9)
SELECT @val= [DC_Piece] 
from INSERTED 
where INSERTED [DC_Domaine]=0 and INSERTED.[DC_IdCol]=6
IF UPDATE([DC_Piece])
BEGIN
    IF NOT EXISTS( select [DO_PIECE] 
    from DOCEN 
    where  @val= [DO_Piece] and [DO_Domaine]=0 and [DO_Type]=6)
        RAISERROR('STOP',11,1)
END
 
    