diff --git a/src/StreamShorts.Library/Analysis/FailedTranscriptAnalysisException.cs b/src/StreamShorts.Library/Analysis/FailedTranscriptAnalysisException.cs index 092216a..c918499 100644 --- a/src/StreamShorts.Library/Analysis/FailedTranscriptAnalysisException.cs +++ b/src/StreamShorts.Library/Analysis/FailedTranscriptAnalysisException.cs @@ -1,15 +1,30 @@ namespace StreamShorts.Library.Analysis; +/// +/// Represents an error that occurs during transcript analysis. +/// public sealed class FailedTranscriptAnalysisException : Exception { + /// + /// Initializes a new instance of the class. + /// public FailedTranscriptAnalysisException() { } + /// + /// Initializes a new instance of the class with a specified error message. + /// /// + /// The error message that explains the reason for the exception. public FailedTranscriptAnalysisException(string message) : base(message) { } + /// + /// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. + /// + /// The error message that explains the reason for the exception. + /// The exception that is the cause of the current exception. public FailedTranscriptAnalysisException(string message, Exception innerException) : base(message, innerException) { } diff --git a/src/StreamShorts.Library/Transcription/FailedAudioTranscriptionException.cs b/src/StreamShorts.Library/Transcription/FailedAudioTranscriptionException.cs index f64fa3a..8d7a3d1 100644 --- a/src/StreamShorts.Library/Transcription/FailedAudioTranscriptionException.cs +++ b/src/StreamShorts.Library/Transcription/FailedAudioTranscriptionException.cs @@ -1,15 +1,30 @@ namespace StreamShorts.Library.Transcription; +/// +/// Represents an error that occurs when audio transcription fails. +/// public sealed class FailedAudioTranscriptionException : Exception { + /// + /// Initializes a new instance of the class with no parameters. + /// public FailedAudioTranscriptionException() { } + /// + /// Initializes a new instance of the class with a specified error message. + /// + /// The error message that explains the reason for the exception. public FailedAudioTranscriptionException(string message) : base(message) { } + /// + /// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. + /// + /// The error message that explains the reason for the exception. + /// The exception that is the cause of the current exception. public FailedAudioTranscriptionException(string message, Exception innerException) : base(message, innerException) { }