gpio icon indicating copy to clipboard operation
gpio copied to clipboard

Several ignored errors

Open tylerstillwater opened this issue 12 years ago • 0 comments

SetMode, Set, Clear all do not return any kind of error. This is bad.

Currently we have a mixture of "last error" and returning an error. We should probably choose a single approach and stick to it.

Go typically returns errors immediately and forces you to deal with them. I feel this might be the best approach.

tylerstillwater avatar Aug 04 '13 01:08 tylerstillwater