Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Install channel post-write hooks

src/a/u/audio-1.0.0-alpha.1/wave.py   audio(Download)
    def _error_hook(message, ExceptionType=ValueError):
        raise ExceptionType(message)
    logger.error.set_hook(_error_hook)
 
    output = first(options.output)

src/a/u/audio-1.0.0-alpha.1/shrink.py   audio(Download)
    def _error_hook(message, ExceptionType=ValueError):
        raise ExceptionType(message)
    logger.error.set_hook(_error_hook)
 
    if options.help or (not filenames and not options):