Extracted the error types in the Recording package target into the Errors folder.
This commit is contained in:
@@ -172,18 +172,6 @@ private extension AudioCapturing {
|
||||
}
|
||||
#endif
|
||||
|
||||
// MARK: - Errors
|
||||
|
||||
/// The errors thrown by ``AudioCapturing``.
|
||||
public enum AudioCapturingError: Error {
|
||||
/// The recorder failed to start or resume the audio capture.
|
||||
case captureNotStarted
|
||||
/// No recording is in progress.
|
||||
case noOngoingRecording
|
||||
/// The user denied the app permission to record audio from the microphone.
|
||||
case permissionNotGranted
|
||||
}
|
||||
|
||||
// MARK: - Constants
|
||||
|
||||
/// The constant values used across the audio recording service.
|
||||
|
||||
Reference in New Issue
Block a user