Struct hdbconnect::ServerError [−][src]
pub struct ServerError { /* fields omitted */ }
Describes an error that is reported from the database.
Methods
impl ServerError
[src]
impl ServerError
pub fn code(&self) -> i32
[src]
pub fn code(&self) -> i32
Returns the error code.
pub fn position(&self) -> i32
[src]
pub fn position(&self) -> i32
Returns the position in the line where the error occured.
pub fn severity(&self) -> Severity
[src]
pub fn severity(&self) -> Severity
Returns the Severity of the error.
pub fn sqlstate(&self) -> Vec<u8>
[src]
pub fn sqlstate(&self) -> Vec<u8>
Returns the SQL state of the error.
pub fn text(&self) -> String
[src]
pub fn text(&self) -> String
Returns the description of the error.
Trait Implementations
impl Display for ServerError
[src]
impl Display for ServerError
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Debug for ServerError
[src]
impl Debug for ServerError
Auto Trait Implementations
impl Send for ServerError
impl Send for ServerError
impl Sync for ServerError
impl Sync for ServerError