Group
Show / Hide Table of Contents

Class TxException

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

Inheritance
System.Object
System.Exception
TxException
TxUsableJobException
TxUsableResumeException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Textkernel.Tx
Assembly: Textkernel.Tx.SDK.dll
Syntax
public class TxException : Exception, ISerializable

Properties

| Improve this Doc View Source

HttpStatusCode

The HTTP Status Code of the response. See https://developer.textkernel.com/tx-platform/v10/overview/#http-status-codes

Declaration
public HttpStatusCode HttpStatusCode { get; protected set; }
Property Value
Type Description
System.Net.HttpStatusCode
| Improve this Doc View Source

RequestBody

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

Declaration
public string RequestBody { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ResponseMessage

The raw response from the API

Declaration
public HttpResponseMessage ResponseMessage { get; protected set; }
Property Value
Type Description
System.Net.Http.HttpResponseMessage
| Improve this Doc View Source

TransactionId

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

Declaration
public string TransactionId { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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

Declaration
public string TxErrorCode { get; protected set; }
Property Value
Type Description
System.String

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾