if (obj.status == 600) {
declare local var.custom_error_page STRING;
set var.custom_error_page = {"
<!DOCTYPE html>
<html lang="en">
<head>
<title>There was a problem</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" type="text/css">
<style>
body { display: inline-block; background:
h1 { margin: .8em 3rem; font: 4em Roboto; }
p { display: inline-block; margin: .2em 3rem; font: 2em Roboto; }
</style>
</head>
<body>
<h1>"} + + {" APOLOGIES!</h1>
<p>Something went wrong</p>
</body>
</html>
"};
log "We're composing an error page at the edge";
set = "text/html; charset=utf-8";
synthetic var.custom_error_page;
return (deliver);
}