Tylertron1998 / mandatum

A simple command library for the Remora.Discord API library powered by source generators to avoid reflection overhead.
MIT License
1 stars 0 forks source link

Exceptions: what to do about them. #6

Open Tylertron1998 opened 3 years ago

Tylertron1998 commented 3 years ago

Handling exceptions should never be a question in any library. However, because we're generating a lot, we can actually avoid the performance overhead if so required. So do we give the user that option? If we provide an option to generate try/catch around command runs, then, really, if they desire they can remove that and thus remove the overhead.