synthead / gpio_sysfs

Portable sysfs-based GPIO library for Ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add some exception handling

synthead opened this issue · comments

The happy path on this works fine, but there should be some exception handling for when things go wrong. This will basically involve wrapping file permission errors with a custom error class, and raising that instead.