real-time-sqlx 0.1.1

Real-time SQLx backend for Tauri
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Custom errors

use thiserror::Error;

/// Deserialization errors
#[derive(Error, Debug)]
pub enum DeserializeError {
    #[error("JSON Value could not be deserialized to FinalType")]
    IncompatibleValue(serde_json::Value),
    #[error("JSON Value could not be coerced to a Map")]
    IncompatibleMap(serde_json::Value),
}