def __init__(self, msg="<STR_LIT>", field_errors=None):
super(SubmissionRequestError, self).__init__(msg)<EOL>self.field_errors = (<EOL>copy.deepcopy(field_errors)<EOL>if field_errors is not None<EOL>else {}<EOL>)<EOL>self.args += (self.field_errors,)<EOL>
Configure the submission request error.

Keyword Args:
    msg (unicode): The error message.
    field_errors (dict): A dictionary of errors (list of unicode)
        specific to a fields provided in the request.

Example usage:

>>> raise SubmissionRequestError(
>>>     "An unexpected error occurred"
>>>     {"answer": ["Maximum answer length exceeded."]}
>>> )