Unified Response Error Handling Mechanism

AMicroblogAPI exposes an Unified Response Error Handling Mechanism for app developer to handle the response error in a configurable unified style.
This mechanism is useful especially in the cases that To use Unified Response Error Handling Mechanism, do the followings:
1. Implements a Response Error Handler which implemets interface IResponseErrorHandler
    public interface IResponseErrorHandler
    {
        /// <summary>
        /// Handles the response error with the <paramref name="errorData"/>.
        /// </summary>
        /// <param name="errorData">The contextual data of the response error.</param>
        void Handle(ResponseErrorData errorData);
    }
2. Configures the Response Error Handler in application config (i.e: app.config)
<?xml version="1.0"?>
<configuration>
  <configSections>
    <section name="amicroblogAPI" type="AMicroblogAPI.Common.AMicroblogAPIConfigurationSection, AMicroblogAPI"/>
  </configSections>
  <amicroblogAPI>
    <responseErrorHandling enabled="true">
        <!--Handles all 400 type error (if you want handle all error simply set errorCode="*")-->
        <handler type="MyHandlerClass, MyHandlerAssembly" errorCode="^400"/>
    </responseErrorHandling>
  </amicroblogAPI>
..........
This mechanism can be turned off by simply setting enabled="false" on the responseErrorHandling node.