ErrorInfo needs to be public to be xml serializable