Seaquel
SQL Server error code

SQL Server error 5042

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

The %S_MSG '%.*ls' cannot be removed because it is not empty.
Msg5042
Severity16
Group5000–5999

Source: Database Engine events and errors