Gets or sets the error message that is displayed in a Web page in place of a control that could not be successfully added to the page.
Assembly: System.Web (in System.Web.dll)
The ErrorWebPart control is inserted into a page.property can be assigned a value by a developer, so that a custom error message is displayed at the point where the
Notes to Inheritors:
To require the WebPartManager control to use a custom ErrorWebPart control, you must also inherit from the WebPartManager class and override its CreateErrorWebPart method. In that method, you should assign the value of the method's errorMessage parameter to the property of your custom ErrorWebPart control, because the WebPartManager control calls this method from several other places, and usually passes in a specific error message.
Available since 2.0