Wrap netlogo error into stings to avoid old scala classes to leak.