Class APIException
API exception class. All internal thrown exceptions will be cast to APIExceptions.
Inheritance
System.Object
System.Exception
APIException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: AntFarm.API
Assembly: AntFarm.dll
Syntax
[Serializable]
public class APIException : Exception, ISerializable, _Exception
Properties
Code
Declaration
public APIExceptionCode Code { get; }
Property Value
Type | Description |
---|---|
APIExceptionCode | Refer to APIExceptionCode for further information. |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception