sqlload 0.59.0

SQL data loading tooling.
1
2
3
4
5
6
7
8
9
10
use crate::http::errors::ApiError;

/// Why a plan was not applied.
#[derive(Debug, thiserror::Error)]
pub enum ApplyError {
    #[error("existing objects do not fit the configuration:\n  - {}", .0.join("\n  - "))]
    Incompatible(Vec<String>),
    #[error("creating {name} failed: {source}")]
    Create { name: String, source: ApiError },
}