C# Класс GitHub.Services.StandardUserErrors

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Defaults GitHub.Services.ErrorMessage
Defaults GitHub.Services.ErrorMessage
DisplayErrorMessage IObservable
DisplayErrorMessage IObservable
GetUserFriendlyError UserError
Map GitHub.Services.ErrorMap
OpenBrowser IRecoveryCommand
OpenPathInExplorer IRecoveryCommand
Throw IObservable

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

GetUserFriendlyErrorMessage() публичный статический Метод

public static GetUserFriendlyErrorMessage ( this exception, ErrorType errorType ) : string
exception this
errorType ErrorType
Результат string

ParseUnverifiedSshKeyMessageFromExceptionMessage() публичный статический Метод

public static ParseUnverifiedSshKeyMessageFromExceptionMessage ( Exception exception ) : string
exception System.Exception
Результат string

ShowCloneError() публичный статический Метод

public static ShowCloneError ( this exception, ErrorType errorType, string displayName, string repositoryLocalWorkingDirectory ) : IObservable
exception this
errorType ErrorType
displayName string
repositoryLocalWorkingDirectory string
Результат IObservable

ShowUserErrorMessage() публичный статический Метод

public static ShowUserErrorMessage ( ErrorType errorType ) : IObservable
errorType ErrorType
Результат IObservable

ShowUserErrorMessage() публичный статический Метод

public static ShowUserErrorMessage ( this exception, ErrorType errorType ) : IObservable
exception this
errorType ErrorType
Результат IObservable

ShowUserErrorThatRequiresNavigatingToBilling() публичный статический Метод

public static ShowUserErrorThatRequiresNavigatingToBilling ( this exception, IAccount account ) : IObservable
exception this
account IAccount
Результат IObservable

ShowUserThatRepoAlreadyExists() публичный статический Метод

public static ShowUserThatRepoAlreadyExists ( string repositoryName, string fullPath ) : IObservable
repositoryName string
fullPath string
Результат IObservable