Npgsql API Docs

NpgsqlException Members

NpgsqlException overview

Public Instance Properties

BaseMessage Basic error message. All versions.
Code Error code. PostgreSQL 7.4 and up.
Detail Detailed error message. PostgreSQL 7.4 and up.
Errors Returns the entire list of errors provided by the PostgreSQL backend.
File Source file (in backend) reporting the error. PostgreSQL 7.4 and up.
HelpLink (inherited from Exception)  
Hint Suggestion to help resolve the error. PostgreSQL 7.4 and up.
InnerException (inherited from Exception)  
Item Provide access to the entire list of errors provided by the PostgreSQL backend.
Line Source file line number (in backend) reporting the error. PostgreSQL 7.4 and up.
Message (inherited from Exception)  
Position Position (one based) within the query string where the error was encounterd. PostgreSQL 7.4 and up.
Routine Source routine (in backend) reporting the error. PostgreSQL 7.4 and up.
Severity Severity code. All versions.
Source (inherited from Exception)  
StackTrace (inherited from Exception)  
TargetSite (inherited from Exception)  
Where Trace back information. PostgreSQL 7.4 and up.

Public Instance Methods

Equals (inherited from Object)  
GetBaseException (inherited from Exception)  
GetHashCode (inherited from Object)  
GetObjectData Missing <summary> documentation for M:Npgsql.NpgsqlException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
GetType (inherited from Object)  
ToString Format a .NET style exception string. Include all errors in the list, including any hints.

Protected Instance Properties

HResult (inherited from Exception)  

See Also

NpgsqlException Class | Npgsql Namespace