File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,17 @@ Binaries for Python Extension Packages <http://www.lfd.uci.edu/~gohlke/pythonlib
7171
7272.. _Anaconda : https://www.continuum.io/downloads
7373
74+ Error Reporting
75+ ---------------
76+
77+ In case of API usage errors the ``soundfile `` module raises the usual `ValueError ` or `TypeError `.
78+
79+ For other errors `SoundFileError ` is raised (used to be `RuntimeError `).
80+ Particularly, a `LibsndfileError ` subclass of this exception is raised on
81+ errors reported by the libsndfile library. In that case the exception object
82+ provides the libsndfile internal error code in the `LibsndfileError.code ` attribute and the raw
83+ libsndfile error message in the `LibsndfileError.error_string ` attribute.
84+
7485Read/Write Functions
7586--------------------
7687
You can’t perform that action at this time.
0 commit comments