配置一个错误处理器对象,当发生HTTP错误的时候可以调用它。
自定义错误处理可以把错误处理交给您的程序集来处理,使您的编程更加自由。
<error-handler code="500" type="MyNamespace.Errors.MyServerErrorHandler, MyAssembly" /><error-handler code="404" type="MyNamespace.Errors.MyNotFoundErrorHandler, MyAssembly" />