better error reporting for both the client and server