Implemented: Error reporting

This implements reporting of errors to the daemon.