exception method
Implementation
Exception exception() {
if (!isFailure()) throw Exception("Could not get exception of Success Result");
return (this as _Failure).error;
}
Exception exception() {
if (!isFailure()) throw Exception("Could not get exception of Success Result");
return (this as _Failure).error;
}