GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

PySoy: Handle soy.net Errors

completed by: Liam Edwards-Playne

mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh

When building libsoy you see many warnings like this:

libsoy/src/net/Client.gs:201.9-201.29: warning: unhandled error `GLib.Error' libsoy/src/net/Client.gs:102.13-102.30: warning: unhandled error `GLib.Error' libsoy/src/net/Client.gs:88.13-88.98: warning: unhandled error `GLib.Error' libsoy/src/net/Client.gs:83.9-83.54: warning: unhandled error `GLib.Error' libsoy/src/net/Client.gs:213.9-213.29: warning: unhandled error `GLib.Error' libsoy/src/net/Server.gs:131.9-131.32: warning: unhandled error `GLib.Error' libsoy/src/net/Server.gs:79.13-79.30: warning: unhandled error `GLib.Error' libsoy/src/net/Server.gs:71.13-71.92: warning: unhandled error `GLib.Error' libsoy/src/net/Server.gs:66.9-66.54: warning: unhandled error `GLib.Error'

These need to be handled, usually by propigating the error to PySoy or another client. Refer to the Genie docs on error handling. Update PySoy to receive these errors and raise appropriate exceptions.

While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, commit your work and post the resulting changeset url to this task.