@wrap_urllib_exceptions<EOL><INDENT>def post_handler_err(self, function_arn, invocation_id, handler_err):<DEDENT>
url = self._get_work_url(function_arn)<EOL>runtime_logger.info('<STR_LIT>'.format(invocation_id, url))<EOL>payload = json.dumps({<EOL>"<STR_LIT>": handler_err,<EOL>}).encode('<STR_LIT:utf-8>')<EOL>request = Request(url, payload)<EOL>request.add_header(HEADER_INVOCATION_ID, invocation_id)<EOL>request.add_header(HEADER_FUNCTION_ERR_TYPE, "<STR_LIT>")<EOL>request.add_header(HEADER_AUTH_TOKEN, self.auth_token)<EOL>urlopen(request)<EOL>runtime_logger.info('<STR_LIT>'.format(invocation_id))<EOL>
Post the error message from executing the function handler for :code:`function_arn`
with specifid :code:`invocation_id`


:param function_arn: Arn of the Lambda function which has the handler error message.
:type function_arn: string

:param invocation_id: Invocation ID of the work that is being requested
:type invocation_id: string

:param handler_err: the error message caught from handler
:type handler_err: string