feat: add specific domain exceptions
This commit is contained in:
1 parent
f96644e029
commit
ff423db5fe
2 files changed
+32
No files matched your search
@@ -0,0 +1,16 @@
|
||||
namespace StreamShorts.Library.Analysis;
|
||||
|
||||
public sealed class FailedTranscriptAnalysisException : Exception
|
||||
{
|
||||
public FailedTranscriptAnalysisException()
|
||||
{
|
||||
}
|
||||
|
||||
public FailedTranscriptAnalysisException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public FailedTranscriptAnalysisException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
namespace StreamShorts.Library.Transcription;
|
||||
|
||||
public sealed class FailedAudioTranscriptionException : Exception
|
||||
{
|
||||
public FailedAudioTranscriptionException()
|
||||
{
|
||||
}
|
||||
|
||||
public FailedAudioTranscriptionException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public FailedAudioTranscriptionException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user