[−][src]Enum pgx::log::PgSqlErrorCode
This list of SQL Error Codes is taken directly from Postgres 12's generated "utils/errcodes.h"
Variants
Class 00 - Successful Completion
Class 01 - Warning
Class 02 - No Data (this is also a warning class per the SQL standard) as isize,
Class 03 - SQL Statement Not Yet Complete
Class 08 - Connection Exception
Class 09 - Triggered Action Exception
Class 0A - Feature Not Supported
Class 0B - Invalid Transaction Initiation
Class 0F - Locator Exception
Class 0L - Invalid Grantor
Class 0P - Invalid Role Specification
Class 0Z - Diagnostics Exception
Class 20 - Case Not Found
Class 21 - Cardinality Violation
Class 22 - Data Exception
Class 23 - Integrity Constraint Violation
Class 24 - Invalid Cursor State
Class 25 - Invalid Transaction State
Class 26 - Invalid SQL Statement Name
Class 27 - Triggered Data Change Violation
Class 28 - Invalid Authorization Specification
Class 2B - Dependent Privilege Descriptors Still Exist
Class 2D - Invalid Transaction Termination
Class 2F - SQL Routine Exception
Class 34 - Invalid Cursor Name
Class 38 - External Routine Exception
Class 39 - External Routine Invocation Exception
Class 3B - Savepoint Exception
Class 3D - Invalid Catalog Name
Class 3F - Invalid Schema Name
Class 40 - Transaction Rollback
Class 42 - Syntax Error or Access Rule Violation
Class 44 - WITH CHECK OPTION Violation
Class 53 - Insufficient Resources
Class 54 - Program Limit Exceeded
Class 55 - Object Not In Prerequisite State
Class 57 - Operator Intervention
Class 58 - System Error (errors external to PostgreSQL itself) as isize,
Class 72 - Snapshot Failure
Class F0 - Configuration File Error
Class HV - Foreign Data Wrapper Error (SQL/MED) as isize,
Class P0 - PL/pgSQL Error
Class XX - Internal Error
Trait Implementations
impl Clone for PgSqlErrorCode
[src]
pub fn clone(&self) -> PgSqlErrorCode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PgSqlErrorCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for PgSqlErrorCode
[src]
impl Send for PgSqlErrorCode
[src]
impl Sync for PgSqlErrorCode
[src]
impl Unpin for PgSqlErrorCode
[src]
impl UnwindSafe for PgSqlErrorCode
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,