Enum oracle::Error[][src]

pub enum Error {
    OciError(DbError),
    DpiError(DbError),
    NullValue,
    ParseError(Box<Error + Send + Sync>),
    OutOfRange(String),
    InvalidTypeConversion(StringString),
    InvalidBindIndex(usize),
    InvalidBindName(String),
    InvalidColumnIndex(usize),
    InvalidColumnName(String),
    InvalidAttributeName(String),
    InvalidOperation(String),
    UninitializedBindValue,
    NoDataFound,
    InternalError(String),
}

Enum listing possible errors from rust-oracle.

Variants

Error from an underlying Oracle client library.

Error from an underlying ODPI-C layer.

Error when NULL value is got but the target rust type cannot handle NULL. Use Option<...> in this case.

Error when conversion from a string to an Oracle value fails

Error when conversion from a type to another fails due to out-of-range

Error when conversion from a type to another is not allowed.

Error when the bind parameter index is out of range. (one based)

Error when the bind parameter name is not in the SQL.

Error when the column index is out of range. (zero based)

Error when the column name is not in the SQL.

Error when the specified attribute name is not found.

Error when invalid method is called such as calling execute for select statements.

Error when an uninitialized bind value is accessed. Bind values must be initialized by Statement.bind, Statement.execute or Connection.execute in advance.

Error when no more rows exist in the SQL.

Internal error. When you get this error, please report it with a test case to reproduce it.

Trait Implementations

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<ParseOracleTypeError> for Error
[src]

Performs the conversion.

impl From<ParseIntError> for Error
[src]

Performs the conversion.

impl From<ParseFloatError> for Error
[src]

Performs the conversion.

impl From<TryFromIntError> for Error
[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error