Skip to content

Commit d4af2ba

Browse files
committed
improving the message for #391
1 parent a2f7c3f commit d4af2ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/DryIoc/Container.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -13502,11 +13502,11 @@ public static readonly int
1350213502
"Unable to interpret the nested lambda with Body:" + NewLine +
1350313503
"{0}"),
1350413504
WaitForScopedServiceIsCreatedTimeoutExpired = Of(
13505-
"We have waited for the creation of the scoped service by 'other party' for the {0} ticks without the success." + NewLine +
13506-
"It means that either the 'other party' is the parallel thread wрich has started! but unable to finish the creation of the service in the provided amount of time." + NewLine +
13507-
"Or more likely we have the undetected recursive dependency and the 'other party' is the same thread." + NewLine +
13505+
"DryIoc have waited for the creation of the scoped service by 'other party' for the {0} ticks without the success." + NewLine +
13506+
"It means that either the 'other party' is the parallel thread which has started! but unable to finish the creation of the service in the provided amount of time." + NewLine +
13507+
"Or more likely there is an undetected recursive dependency and the 'other party' is the same thread." + NewLine +
1350813508
"Another reason may be that the previous scoped service resolution is failed with the exception and the exception was CATCHED " + NewLine +
13509-
"but you are proceeding to resolve the failed service again." + NewLine +
13509+
"but you are trying to resolve the failed service again." + NewLine +
1351013510
"That's why for all these reasons we have a timeout to prevent the hanging due to the infinite waiting.");
1351113511

1351213512
#pragma warning restore 1591 // "Missing XML-comment"

0 commit comments

Comments
 (0)