
    rh                    2   S r SSKJr   " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r	 " S S\5      r
 " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      rg)z
module to hold exceptions generated by music21, particularly the ``Music21Exception``
which all other m21 exceptions should derive from.

Do not import anything within this module.  Needs to be import free so other modules
can freely import from it.
    )annotationsc                      \ rS rSrSrg)Music21Exception    N__name__
__module____qualname____firstlineno____static_attributes__r       N/home/james-whalen/.local/lib/python3.13/site-packages/music21/exceptions21.pyr   r          r   r   c                      \ rS rSrSrg)StreamException"   r   Nr   r   r   r   r   r   "   r   r   r   c                  ,   ^  \ rS rSrSU 4S jjrSrU =r$ )ImmutableStreamException%   c                $   > [         TU ]  U5        g )N)super__init__)selfmsg	__class__s     r   r   !ImmutableStreamException.__init__&   s    r   r   )z%An immutable Stream cannot be changed)r	   r
   r   r   r   r   __classcell__)r   s   @r   r   r   %   s     r   r   c                      \ rS rSrSrg)MetadataException*   r   Nr   r   r   r   r    r    *   r   r   r    c                      \ rS rSrSrg)AnalysisException-   r   Nr   r   r   r   r#   r#   -   r   r   r#   c                      \ rS rSrSrg)TreeException0   r   Nr   r   r   r   r&   r&   0   r   r   r&   c                      \ rS rSrSrg)InstrumentException3   r   Nr   r   r   r   r)   r)   3   r   r   r)   c                      \ rS rSrSrg)CorpusException6   r   Nr   r   r   r   r,   r,   6   r   r   r,   c                      \ rS rSrSrg)SubConverterException9   r   Nr   r   r   r   r/   r/   9   r   r   r/   c                      \ rS rSrSrg)GroupException>   r   Nr   r   r   r   r2   r2   >   r   r   r2   c                      \ rS rSrSrg)MeterExceptionB   r   Nr   r   r   r   r5   r5   B   r   r   r5   c                      \ rS rSrSrg)TimeSignatureExceptionF   r   Nr   r   r   r   r8   r8   F   r   r   r8   c                      \ rS rSrSrg)Music21DeprecationWarningK   r   Nr   r   r   r   r;   r;   K   s     	r   r;   N)__doc__
__future__r   	Exceptionr   r   r   r    r#   r&   r)   r,   r/   r2   r5   r8   UserWarningr;   r   r   r   <module>rA      s    #	y 		& 	 
	( 		( 		$ 		* 		& 		, 	
	% 		% 		^ 	
	 	r   