Class FinancialDataException
- Namespace
- Tudormobile.FinancialData
- Assembly
- Tudormobile.FinancialData.dll
Represents errors that occur when an API request fails or returns an unexpected response.
public class FinancialDataException : Exception, ISerializable
- Inheritance
-
FinancialDataException
- Implements
- Inherited Members
Remarks
Use this exception to handle failures related to API operations, such as invalid responses, connectivity issues, or unexpected status codes. This exception is typically thrown by methods interacting with external APIs to signal that the operation could not be completed successfully.
Constructors
FinancialDataException()
Initializes a new instance of the FinancialDataException class.
public FinancialDataException()
FinancialDataException(string)
Initializes a new instance of the FinancialDataException class with a specified error message.
public FinancialDataException(string message)
Parameters
messagestringThe message that describes the error.
FinancialDataException(string, Exception)
Initializes a new instance of the FinancialDataException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public FinancialDataException(string message, Exception inner)