does any inbuilt error reporting mechanism exist in webparts?
I mean some kind of function let's say ReportError(string err) that would render err string error instead of normal content that is supposed to be rendered?
Do I have to implement such logic by myself?