These are chat archives for dennisdoomen/CSharpGuidelines

23rd
Oct 2018
Kris Kater
@youfoundkris
Oct 23 2018 11:33
Thanks for the reply!
No lets assume we are on-boarding a new customer and instead of doing a check if the customer exists we verify if the chosen sub-domain name is still available. Would you use an exception or a result code?
Dennis Doomen
@dennisdoomen
Oct 23 2018 12:45
Well. I would do both. First a mechanism in the UI to try to avoid an exception. But if a concurrency issue does happen, I would throw a well-defined exception.