C# Class TodoistNet.Core.TodoistWebException

Inheritance: System.Exception
Afficher le fichier Open project: jernejk/TodoistNet Class Usage Examples

Méthodes publiques

Свойство Type Description
ErrorCodeMessages string>.IReadOnlyDictionary

Méthodes publiques

Méthode Description
GenerateFromHttpErrorCode ( int errorCode, Exception originalException ) : TodoistWebException
IsKnownHttpErrorCode ( int errorCode ) : bool
TodoistWebException ( string message ) : System
TodoistWebException ( string message, Exception innerException ) : System

Method Details

GenerateFromHttpErrorCode() public static méthode

public static GenerateFromHttpErrorCode ( int errorCode, Exception originalException ) : TodoistWebException
errorCode int
originalException System.Exception
Résultat TodoistWebException

IsKnownHttpErrorCode() public static méthode

public static IsKnownHttpErrorCode ( int errorCode ) : bool
errorCode int
Résultat bool

TodoistWebException() public méthode

public TodoistWebException ( string message ) : System
message string
Résultat System

TodoistWebException() public méthode

public TodoistWebException ( string message, Exception innerException ) : System
message string
innerException System.Exception
Résultat System

Property Details

ErrorCodeMessages public_oe static_oe property

public static IReadOnlyDictionary ErrorCodeMessages
Résultat string>.IReadOnlyDictionary