Table of Contents

Class TxException

Namespace
Textkernel.Tx
Assembly
Textkernel.Tx.SDK.dll

The most generic exception thrown by the SDK as a result of an error response from the API

public class TxException : Exception, ISerializable
Inheritance
TxException
Implements
Derived
Inherited Members

Properties

HttpStatusCode

public HttpStatusCode HttpStatusCode { get; protected set; }

Property Value

HttpStatusCode

RequestBody

The JSON request body, will only have a value if ShowFullRequestBodyInExceptions is true

public string RequestBody { get; protected set; }

Property Value

string

ResponseMessage

The raw response from the API

public HttpResponseMessage ResponseMessage { get; protected set; }

Property Value

HttpResponseMessage

TransactionId

The Id of the transaction, use this when reporting errors to Support

public string TransactionId { get; protected set; }

Property Value

string

TxErrorCode

The Info.Code of the response. This will indicate what type of error occurred. See https://developer.textkernel.com/tx-platform/v10/overview/#http-status-codes

public string TxErrorCode { get; protected set; }

Property Value

string