C# Class NContrib.Extensions.SqlExceptionExtensions

Afficher le fichier Open project: veracross/ncontrib

Méthodes publiques

Méthode Description
Describe ( this ex ) : string

I

ErrorMessages ( this ex ) : string[]

List of actual error messages. Anything with a class/severity of 11 or higher Excludes informational messages. Those can be retrieved from InfoMessages

InfoMessages ( this ex ) : string[]

List of non-error messages that were lumped in with the errors These are print messages, or anything with a class/severity of 10 or lower

UserErrorMessages ( this ex ) : string[]

Errors that should be displayed to the user

Private Methods

Méthode Description
FormatError ( SqlError err ) : string

Method Details

Describe() public static méthode

I
public static Describe ( this ex ) : string
ex this
Résultat string

ErrorMessages() public static méthode

List of actual error messages. Anything with a class/severity of 11 or higher Excludes informational messages. Those can be retrieved from InfoMessages
public static ErrorMessages ( this ex ) : string[]
ex this
Résultat string[]

InfoMessages() public static méthode

List of non-error messages that were lumped in with the errors These are print messages, or anything with a class/severity of 10 or lower
public static InfoMessages ( this ex ) : string[]
ex this
Résultat string[]

UserErrorMessages() public static méthode

Errors that should be displayed to the user
public static UserErrorMessages ( this ex ) : string[]
ex this
Résultat string[]