next up previous contents
Next: Design Notes Up: The C++ API Previous: Reading and writing cyclic   Contents

Error handling

The functions return zero for success and -1 in the event of an error (whereon errno is set. The constructors throw an exception of type std::runtime_error in the event of an error.



Andrew Marlow 2004-01-01