We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5519a5f commit f37529bCopy full SHA for f37529b
Assets/Mochineko/Whisper_API/TranscriptionAPI.cs
@@ -44,7 +44,7 @@ public static async UniTask<IUncertainResult<string>> TranscribeAsync(
44
45
if (!fileStream.CanRead)
46
{
47
- return UncertainResults.FailWithTrace<string>($"File stream is not readable.");
+ throw new InvalidOperationException("File stream must be readable.");
48
}
49
50
if (cancellationToken.IsCancellationRequested)
0 commit comments