Class ExceptionFactory
Factory for exceptions thrown by Worldline Global Collect platform API v1 resources.
Inherited Members
Namespace: Worldline.Connect.Sdk.V1
Assembly: Worldline.Connect.Sdk.dll
Syntax
public static class ExceptionFactory
Methods
CreateException(HttpStatusCode, string, object, CallContext)
Declaration
public static Exception CreateException(HttpStatusCode statusCode, string responseBody, object errorObject, CallContext context)
Parameters
Type | Name | Description |
---|---|---|
HttpStatusCode | statusCode | |
string | responseBody | |
object | errorObject | |
CallContext | context |
Returns
Type | Description |
---|---|
Exception |