def error(exception_message):
    """
    Define json prediction error for single structure predictor

    :param exception_message: single structure prediction error message
    :type exception_message: str
    :return: prediction error
    :rtype: dict
    """

    return {
        'error': exception_message
    }