Open gavv opened 5 years ago
Replace is_valid() with init_status(), and report initialization error codes.
Update packet and frame readers and writers to return status, and report read/write error codes. Use StatusEnd instead of is_alive() to terminate sessions.
Return and forward status from refresh().
Return and handle StatusNoRoute.
Update IParser & IComposer implementations to return statuses instead of booleans.
Update encoder and decoder implementations to return statuses instead of booleans.
Fix error reporting in fec::BlockReader and fec::BlockWriter.
Return statuses when creating slots, endpoints, etc. Forwards statuses through pipeline tasks.
Migrate TCP classes to roc_status codes. SocketError enum should be hidden implementation detail.
Return status codes for operations.
This task tracks support for reporting errors (status codes) from pipeline operations (construction, read and write).
Errors should be forwarded through the whole pipeline up to the user, and exposed via C API.
Depends on #303 and #614.