Seaquel
SQL Server error code

SQL Server error 3992

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

Transaction count has been changed from %d to %d inside of user defined routine, trigger or aggregate "%.*ls". This is not allowed and user transaction will be rolled back. Change application logic to enforce strict transaction nesting.
Msg3992
Severity16
Group3000–3999

Source: Database Engine events and errors