MrPicklePinosaur / shrs

The rusty shell toolkit for hackers
https://mrpicklepinosaur.github.io/shrs/
Apache License 2.0
301 stars 24 forks source link

[Feature]: Better define hook failure modes #447

Open MrPicklePinosaur opened 4 months ago

MrPicklePinosaur commented 4 months ago

Currently if a hook returns an error the entire hook run process is aborted and an error is propogated out. We should maybe define multiple failure modes like 'best effort' and 'pedantic' to control behavior when hooks fail