C# Class GitHub.Services.StandardUserErrors

Afficher le fichier Open project: github/VisualStudio

Private Properties

Свойство Type Description
Defaults GitHub.Services.ErrorMessage
Defaults GitHub.Services.ErrorMessage
DisplayErrorMessage IObservable
DisplayErrorMessage IObservable
GetUserFriendlyError UserError
Map GitHub.Services.ErrorMap
OpenBrowser IRecoveryCommand
OpenPathInExplorer IRecoveryCommand
Throw IObservable

Méthodes publiques

Méthode Description
GetUserFriendlyErrorMessage ( this exception, ErrorType errorType ) : string
ParseUnverifiedSshKeyMessageFromExceptionMessage ( Exception exception ) : string
ShowCloneError ( this exception, ErrorType errorType, string displayName, string repositoryLocalWorkingDirectory ) : IObservable
ShowUserErrorMessage ( ErrorType errorType ) : IObservable
ShowUserErrorMessage ( this exception, ErrorType errorType ) : IObservable
ShowUserErrorThatRequiresNavigatingToBilling ( this exception, IAccount account ) : IObservable
ShowUserThatRepoAlreadyExists ( string repositoryName, string fullPath ) : IObservable

Private Methods

Méthode Description
Defaults ( string description ) : GitHub.Services.ErrorMessage
Defaults ( string heading, string description ) : GitHub.Services.ErrorMessage
DisplayErrorMessage ( ErrorType errorType, object messageArgs, IEnumerable recoveryOptions ) : IObservable
DisplayErrorMessage ( this exception, ErrorType errorType, object messageArgs, IEnumerable recoveryOptions ) : IObservable
GetUserFriendlyError ( this exception, ErrorType errorType ) : UserError
Map ( GitHub.Services.ErrorMessage defaultMessage ) : GitHub.Services.ErrorMap
OpenBrowser ( string text, string url ) : IRecoveryCommand
OpenPathInExplorer ( string path ) : IRecoveryCommand
Throw ( this error ) : IObservable

Method Details

GetUserFriendlyErrorMessage() public static méthode

public static GetUserFriendlyErrorMessage ( this exception, ErrorType errorType ) : string
exception this
errorType ErrorType
Résultat string

ParseUnverifiedSshKeyMessageFromExceptionMessage() public static méthode

public static ParseUnverifiedSshKeyMessageFromExceptionMessage ( Exception exception ) : string
exception System.Exception
Résultat string

ShowCloneError() public static méthode

public static ShowCloneError ( this exception, ErrorType errorType, string displayName, string repositoryLocalWorkingDirectory ) : IObservable
exception this
errorType ErrorType
displayName string
repositoryLocalWorkingDirectory string
Résultat IObservable

ShowUserErrorMessage() public static méthode

public static ShowUserErrorMessage ( ErrorType errorType ) : IObservable
errorType ErrorType
Résultat IObservable

ShowUserErrorMessage() public static méthode

public static ShowUserErrorMessage ( this exception, ErrorType errorType ) : IObservable
exception this
errorType ErrorType
Résultat IObservable

ShowUserErrorThatRequiresNavigatingToBilling() public static méthode

public static ShowUserErrorThatRequiresNavigatingToBilling ( this exception, IAccount account ) : IObservable
exception this
account IAccount
Résultat IObservable

ShowUserThatRepoAlreadyExists() public static méthode

public static ShowUserThatRepoAlreadyExists ( string repositoryName, string fullPath ) : IObservable
repositoryName string
fullPath string
Résultat IObservable