Server:Request.error
Version: - stringSummary
Returns error data in request to server.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Server:Request.error")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Server:Request.error"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Server:Request.error");
}
Outputting the template tag
<!--@Server:Request.error-->
Check if string has a value
<!--@If Defined(@Server:Request.error)-->
Let's output this tag here: <strong><!--@Server:Request.error--></strong>
<!--@EndIf(@Server:Request.error)-->