Gets a hash list of sections containing the last errors.
A hash list of of errors.
It is possible to log errors using this State variable. The key of the error identifies the type of error, e.g. "Extranet".
The following example adds an error and retrieves it again.
State.LastError.Add("Extranet", "Unknown user or password");
string error = State.LastError["Extranet"];
State Class | Sitecore.Configuration Namespace