def resource_not_found()

in gstack/controllers/errors.py [0:0]


def resource_not_found(func_url):
    res = {
        'error': {
            'errors': [
                {
                    'domain': 'global',
                    'reason': 'notFound',
                    'message': 'The resource \'' + urllib.unquote_plus(func_url) + '\' was not found'
                }
            ],
            'code': 404,
            'message': 'The resource \'' + urllib.unquote_plus(func_url) + '\' was not found'
        }
    }

    return helpers.create_errored_response(res, 404)