Utilities

Frends.Utilities.ThrowException / 2.0.0

Summary

Fails deliberately with the message you give it.

Typical use — making an impossible branch fail loudly instead of passing silently, and forcing an error path during testing

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
2.0.02026-11-03
Changed
  • Breaking The result now contains Success instead of ExceptionThrown.
  • The Task now targets .NET 8.
1.0.02022-09-06
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙
Reconnecting… Connection lost.