The SalSqlError type exposes the following members.

Constructors

  NameDescription
Public methodSalSqlError(Exception)
Initializes a new instance of the SalSqlError class
Public methodSalSqlError(Int32, Int32, String)
Initializes a new instance of the SalSqlError class
Public methodSalSqlError(Int32, Int32, String, Exception)
Initializes a new instance of the SalSqlError class

Methods

  NameDescription
Public methodStatic memberGetErrorText
Returns the error text corresponding to the error code. Error texts are saved as errors are generated. If an error has never been generated, requesting the error text for the error code will return a null string.
Public methodStatic memberSetErrorText
Saves the error code into the global cache of errors.

Properties

  NameDescription
Public propertyHasReturnValue
Returns true if the return value was set.
Public propertyNumber
Error number
Public propertyPosition
Error position
Public propertyReturn
Return value. When set, the flag HasReturnValue is also flipped to true.

See Also