forked from loafle/openapi-generator-original
16 lines
407 B
Plaintext
16 lines
407 B
Plaintext
{{>partial_header}}
|
|
|
|
using System;
|
|
using RestSharp;
|
|
|
|
namespace {{packageName}}.Client
|
|
{
|
|
/// <summary>
|
|
/// A delegate to ExceptionFactory method
|
|
/// </summary>
|
|
/// <param name="methodName">Method name</param>
|
|
/// <param name="response">Response</param>
|
|
/// <returns>Exceptions</returns>
|
|
public delegate Exception ExceptionFactory(string methodName, IRestResponse response);
|
|
}
|