@page "/error/{code:int?}" @model OliverBooth.Pages.ErrorModel @{ Layout = "_MinimalLayout"; ViewData["Title"] = "Error"; }

@switch (Model.HttpStatusCode) { case 403: 403 Forbidden break; case 404: 404 Page not found break; case 500: Internal server error break; default: Something went wrong break; }

@if (Model.ShowRequestId) {

Request ID: @Model.RequestId

}