Option<Type> get type { if (_e case Err<Exception>(:final Exception _value)) { return Some<Type>(FromException(_value).type); } return const None(); }