Simplify SqlException config structure in appsettings.json

Removed the "ErrorMessages" wrapper from the SqlException section,
placing "SqlExceptionNumber" directly under "SqlException".
No changes to the exception numbers themselves. Improved
readability and clarity of the configuration.
This commit is contained in:
2026-01-22 02:04:52 +01:00
parent 88cb1dc16a
commit d8e08b237d

View File

@@ -9,10 +9,8 @@
"MaxConcurrentInvocations": 5 "MaxConcurrentInvocations": 5
}, },
"SqlException": { "SqlException": {
"ErrorMessages": {
// https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlexception.number // https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlexception.number
"SqlExceptionNumber": [ 515 , 547, 2601, 2627] "SqlExceptionNumber": [ 515, 547, 2601, 2627 ]
}
}, },
"AddedWho": "ReC.API", "AddedWho": "ReC.API",
"FakeProfileId": 2 "FakeProfileId": 2