Avatar
型にできそうだな enum PartialExplicitError<E> { case explicit(E) case implicit(any Error) } func login(...) async throws(PartialExplicitError<LoginError>) -> LoginResult (edited)