i have a RequestDto,it accept a int parameter
[Route("/club/thread/{Id}","GET")]
public MyDto{
[Apimember(DataType="int32")]
public int Id{get;set;}
}
when i input http://myservice/club/thread/aaa.json ,is throw a exception:
[RequestBindingException: Unable to bind request]
ServiceStack.WebHost.Endpoints.RestHandler.GetRequest(IHttpRequest httpReq, IRestPath restPath) +538
ServiceStack.WebHost.Endpoints.RestHandler.ProcessRequest(IHttpRequest httpReq, IHttpResponse httpRes, String operationName) +1023
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
AppHost.ExceptionHandler can't catch this exception,how can i catch it ?