Skip to main content

store_error

Function store_error 

Source
pub fn store_error(error: &Error) -> StoreError
Expand description

Maps a sqlx failure onto the contract’s error surface.

See the module documentation for the table and its reasoning.