onServerError

Assigns a default handler for an error occurred on the server-side (such as validation error) in response to a message posted by the client.