Seaquel
SQL Server error code

SQL Server error 125

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

Case expressions may only be nested to level %d.
Msg125
Severity15
Group0–999

What it means

SQL Server allows for only 10 levels of nesting in CASE expressions.

Source: Database Engine events and errors