C# Class NContrib.Extensions.SqlExceptionExtensions

Datei anzeigen Open project: veracross/ncontrib

Public Methods

Method 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

Method Description
FormatError ( SqlError err ) : string

Method Details

Describe() public static method

I
public static Describe ( this ex ) : string
ex this
return string

ErrorMessages() public static method

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
return string[]

InfoMessages() public static method

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
return string[]

UserErrorMessages() public static method

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