Npgsql Api Docs |

# NpgsqlError Members

NpgsqlError overview

#### Public Instance Properties

Code | Error code. PostgreSQL 7.4 and up.
Detail | Detailed error message. PostgreSQL 7.4 and up.
ErrorSql | String containing the sql sent which produced this error.
File | Source file (in backend) reporting the error. PostgreSQL 7.4 and up.
Hint | Suggestion to help resolve the error. PostgreSQL 7.4 and up.
InternalPosition | Position (one based) within the query string where the error was encounterd. This position refers to an internal command executed for example inside a PL/pgSQL function. PostgreSQL 7.4 and up.
InternalQuery | Internal query string where the error was encounterd. This position refers to an internal command executed for example inside a PL/pgSQL function. PostgreSQL 7.4 and up.
Line | Source file line number (in backend) reporting the error. PostgreSQL 7.4 and up.
Message | Terse error message. All versions.
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.
Where | Trace back information. PostgreSQL 7.4 and up.

#### Public Instance Methods

Equals (inherited from Object) |
GetHashCode (inherited from Object) |
GetType (inherited from Object) |
ToString | Return a string representation of this error object.

#### See Also

NpgsqlError Class | Npgsql Namespace