Exception toException(Object e) { return e is Exception ? e : Exception(e.toString()); }