MERGE statement for table '%1' failed because of a RAISERROR specification in the statement

Error constant SQLE_MERGE_USER_SPECIFIED_ERROR
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 Name of the table being merged into
Severity 16
SQLCODE –1254
SQLSTATE 23510
Sybase error code 13259
Probable cause

You have attempted to execute a MERGE statement that contains the RAISERROR clause in one or more merge operation branches and one of the input rows satisfies the conditions for one of these branches