Seaquel
SQL Server error code

SQL Server error 240

SQL Server raises error 240 at severity 16, which marks a problem with the query or data that you can correct.

Types don't match between the anchor and the recursive part in column "%.*ls" of recursive query "%.*ls".
Msg240
Severity16
Group0–999

Source: Database Engine events and errors