Table of Contents

Class ApiException

Namespace
XeroxDev.YTMDesktop.Companion.Exceptions
Assembly
XeroxDev.YTMDesktop.Companion.dll

Represents an exception that is thrown when an API error occurs.

[Serializable]
public class ApiException : Exception, ISerializable
Inheritance
ApiException
Implements
Inherited Members

Constructors

ApiException(string, Exception, ErrorOutput)

Represents an exception that is thrown when an API error occurs.

public ApiException(string message, Exception innerException, ErrorOutput error)

Parameters

message string

The error message.

innerException Exception

The inner exception.

error ErrorOutput

The error output from the API.

ApiException(string, ErrorOutput)

Represents an exception that is thrown when an API error occurs.

public ApiException(string message, ErrorOutput error)

Parameters

message string

The error message.

error ErrorOutput

The error output from the API.

ApiException(ErrorOutput)

Represents an exception that is thrown when an API error occurs.

public ApiException(ErrorOutput error)

Parameters

error ErrorOutput

The error output from the API.

Properties

Error

The error output from the API.

public ErrorOutput Error { get; }

Property Value

ErrorOutput

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string