robm
March 13, 2018, 3:11pm
1
I want to add exceptions to the Unrecoverable Exceptions. This page Recoverability • NServiceBus • Particular Docs ? says to do that like this
var recoverability = endpointConfiguration.Recoverability();
recoverability.AddUnrecoverableException<ValidationException>();
recoverability.AddUnrecoverableException(typeof(ArgumentException))
But AddUnrecoverableException does not seem to exist where the example shows in Recoverability.
Where can I locate that method?
Those methods where added in NServiceBus v6, could it be that you are using an older version?
robm
March 14, 2018, 3:27pm
3
I believe I’m using the correct library.
!
This method has been added in version 6.2.0, make sure you use at least that version but as fixes have been released it probably is best to run the latest 6.x release which is 6.4.3
It seems our documentation does not mention this on the recoverablity page:
robm
March 14, 2018, 8:20pm
5
awesome thanks !
I’ll update