Module error

Module error 

Source
Expand description

Error handling.

Errors can happen in one of a few different phases:

  • connecting to a database
  • preparing a query
  • executing a query
  • retrieving values from the results
  • transaction control

Use the kind() method on Error to find out which step it was. If we have an underlying database error it can be retrieved with the inner() method.

Structs§

Error
An error that occurred when trying to use the database.

Enums§

ErrorKind
What operation prompted the error?