handlebars.csharp.ExceptionFactory.mustache Maven / Gradle / Ivy
{{>partial_header}}
using System;
{{#netStandard}}
using RestSharp.Portable;
{{/netStandard}}
{{^netStandard}}
using RestSharp;
{{/netStandard}}
namespace {{packageName}}.Client
{
///
/// A delegate to ExceptionFactory method
///
/// Method name
/// Response
/// Exceptions
{{>visibility}} delegate Exception ExceptionFactory(string methodName, IRestResponse response);
}