def create_error_response(error_message, error_code):
    """ Creates a standard error response used by all REST apis.
    """
    return {
        'meta': {
            'error': True,
            'error_message': error_message,
            'error_code': str(error_code)
        }
    }