Class ApiException
An exception that can be thrown, if a call to the LemonEdge WebService fails.
Implements
Inherited Members
Namespace: LemonEdge.API
Assembly: LemonEdge.API.dll
Syntax
public class ApiException : Exception, ISerializable
Constructors
ApiException(ApiError, Exception)
Creates a new ApiException, from an ApiError.
Declaration
public ApiException(ApiError error, Exception innerException = null)
Parameters
Type | Name | Description |
---|---|---|
ApiError | error | The ApiError |
Exception | innerException | The inner exception |
Properties
StackTrace
The stack trace
Declaration
public override string StackTrace { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
StatusCode
The status code
Declaration
public int StatusCode { get; }
Property Value
Type | Description |
---|---|
int |