ev3dev / ev3dev-lang

(deprecated) language bindings for ev3dev sensors, motors, LEDs, etc.
GNU General Public License v2.0
56 stars 39 forks source link

[cpp] Throw when using unsupported attribute value #82

Closed ddemidov closed 9 years ago

ddemidov commented 9 years ago

This checks if attribute write was successful and throws otherwise. The exception thrown is std::system_error initialized with errno.

See #59