System\Data\Services\ErrorHandler.cs (9)
36private HandleExceptionArgs exceptionArgs;
48private ErrorHandler(HandleExceptionArgs args, Encoding encoding)
77HandleExceptionArgs args = new HandleExceptionArgs(exception, false, contentType, service.Configuration.UseVerboseErrors);
111HandleExceptionArgs args = new HandleExceptionArgs(exception, false, contentType, service.Configuration.UseVerboseErrors);
137HandleExceptionArgs args = new HandleExceptionArgs(exception, false, contentType, verbose);
166HandleExceptionArgs args = new HandleExceptionArgs(exception, true, contentType, service.Configuration.UseVerboseErrors);
196internal static void SerializeJsonError(HandleExceptionArgs args, JsonWriter writer)
207internal static void SerializeXmlError(HandleExceptionArgs args, XmlWriter writer)
249private static Action<Stream> CreateErrorSerializer(HandleExceptionArgs args, Encoding encoding)