OPLError

Holds information about a warning or error returned by a data source.

public sealed class OPLError


Remarks

This class is created whenever an error occurs. Each instance of OPLError created is then managed by the OPLErrorCollection class, which in turn is created by the OPLException class.

Properties


public string Message {get;}


Gets a short description of the error.

public string SQLState {get;}


Gets the five character ODBC SQL state associated with the error.

public int NativeError {get;}


Gets the data source-specific error information.