Esempio n. 1
0
 public Exception AsError()
 {
     return(Cause.IsPresent() ? Cause.Value : new InvalidOperationException(ToString()));
 }