WithErrorMessage/WithCustomState/WithErrorCode PropertyValue
See original GitHub issueWould it be possible to add {PropertyValue}
to the error message thrown by WithErrorMessage/WithCustomState/WithErrorCode?
So, instead of Expected an error message of ‘‘Address’ should not be empty.’ it would throw Expected an error message of '‘Address’ should not be empty. Error message was ‘‘Address’ must not be empty.’
Or is that not possible with how the extensions are structured?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve committed this change. It’ll be in the 7.5 release.
I’ve released 7.5 to nuget today that includes this fix.