# HG changeset patch # User Amine Sehili # Date 1546637724 -3600 # Node ID 0663f3e1f7d1ee05447778d0611a2b9574606eff # Parent a10fc63118a8522f497d88205e23c44d2aee8c7b Add AudioIOError and AudioParameterError exceptions diff -r a10fc63118a8 -r 0663f3e1f7d1 auditok/io.py --- a/auditok/io.py Fri Jan 04 22:13:45 2019 +0100 +++ b/auditok/io.py Fri Jan 04 22:35:24 2019 +0100 @@ -35,6 +35,13 @@ DEFAULT_SAMPLE_WIDTH = 2 DEFAULT_NB_CHANNELS = 1 +class AudioIOError(Exception): + pass + + +class AudioParameterError(AudioIOError): + pass + class AudioSource(): """