babycat.NumPyNamedResult¶
- class NumPyNamedResult¶
Bases:
object
A container for decoding operations that may have succeeded or failed.
NumPyNamedResult
contains either anumpy.ndarray
from a successful audio decoding or a Python exception from a failed audio decoding.- __new__(**kwargs)¶
- __repr__()¶
Return repr(self).
- array¶
A
numpy.ndarray
if decoding succeeded… orNone
if decoding failed.
- exception¶
None
if decoding succeeded… or an exception if decoding failed.