Metadata-Version: 2.1
Name: hed-exceptions
Version: 0.0.4
Summary: Set of custom exceptions aimed to reduce typing.
Home-page: https://github.com/Hrissimir/hed_exceptions
Author: Hrissimir
Author-email: hrisimir.dakov@gmail.com
License: UNKNOWN
Description: # hed_exceptions
        
        Set of custom exceptions aimed to reduce typing.
        
        
        ## Details
        
        I wander why Python is lacking similar builtin types...
        
        
        ## Catalog
        
        * ArgumentError
            
                def charge(me):
                    raise ArgumentError("me")
                    
                def recharge(me):  
                    raise ArgumentError("me", "Plug not found!")
                ...
                charge("money") 
                # ArgumentError('Bad arg!', Arg(name='me', type=<class 'str'>, value='money'))
                ...
                recharge("battery")
                # ArgumentError('Plug not found!', Arg(name='me', type=<class 'str'>, value='battery'))
        
        
        ## Dependencies
        
        - None
        
        
        ## Installation
        
            pip install hed_exceptions
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
