class_docstr: Error which happen during evaluation of submission.
  
  To simplify error handling, worker only raises this type of exception.
  Exceptions of different types raised by other modules encapsulated
  into WorkerError by the worker.
class_docstr_tok: ["Error","which","happen","during","evaluation","of","submission",".","To","simplify","error","handling",",","worker","only","raises","this","type","of","exception",".","Exceptions","of","different","types","raised","by","other","modules","encapsulated","into","WorkerError","by","the","worker","."]
docstr: Initializes WorkerError.
  
  Args:
    message: error message
    exc: optional underlying exception.
docstr_tok: ["Initializes","WorkerError",".","Args",":","message",":","error","message","exc",":","optional","underlying","exception","."]
code: def __init__(self, message, exc=None):
      """Initializes WorkerError.
  
      Args:
        message: error message
        exc: optional underlying exception.
      """
      super(WorkerError, self).__init__()
      self.msg = message
      self.exc = exc
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from builtins import int
  import argparse
  import json
  import logging
  import os
  import random
  import shutil
  import subprocess
  import time
  import uuid
  from six import iteritems
  import eval_lib
  from cleverhans.utils import shell_call
label_desc: Use image node_id 1 to create a new WorkerError object from inherited base classes: Exception with example: obj = WorkerError(message, exc)