• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

getdozer / dozer / 5954012408

23 Aug 2023 04:32PM UTC coverage: 75.86% (-0.2%) from 76.088%
5954012408

push

github

web-flow
chore: Move ContractService implementation to Contract (#1899)

* chore: Split `build.rs` to several files

* chore: Remove `serde` from `dozer-cli/Cargo.toml`

* chore: Move `ContractService` implementation to `Contract`

461 of 461 new or added lines in 8 files covered. (100.0%)

46996 of 61951 relevant lines covered (75.86%)

73804.64 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/dozer-cli/src/live/errors.rs
1
use crate::errors::{BuildError, CliError, OrchestrationError};
2
use dozer_core::errors::ExecutionError;
3
use dozer_sql::pipeline::errors::PipelineError;
4

5
use dozer_types::thiserror;
6
use dozer_types::thiserror::Error;
7
use zip::result::ZipError;
8

9
#[derive(Error, Debug)]
×
10
pub enum LiveError {
11
    #[error("IO error: {0}")]
12
    Io(#[from] std::io::Error),
13
    #[error("Notify error: {0}")]
14
    Notify(#[from] notify::Error),
15
    #[error(transparent)]
16
    CliError(#[from] CliError),
17

18
    #[error("Dozer is not initialized")]
19
    NotInitialized,
20
    #[error("Connection {0} not found")]
21
    ConnectionNotFound(String),
22
    #[error("Error in initializing live server: {0}")]
23
    Transport(#[from] tonic::transport::Error),
24
    #[error("Error in reading or extracting from Zip file: {0}")]
25
    ZipError(#[from] ZipError),
26
    #[error("Reqwest error: {0}")]
27
    Reqwest(#[from] reqwest::Error),
28
    #[error("Cannot start ui server: {0}")]
29
    CannotStartUiServer(#[source] std::io::Error),
30

31
    #[error(transparent)]
32
    Build(#[from] BuildError),
33
    #[error(transparent)]
34
    PipelineError(#[from] PipelineError),
35
    #[error(transparent)]
36
    ExecutionError(#[from] ExecutionError),
37
    #[error(transparent)]
38
    OrchestrationError(Box<OrchestrationError>),
39
}
40

×
41
impl From<OrchestrationError> for LiveError {
×
42
    fn from(error: OrchestrationError) -> Self {
×
43
        LiveError::OrchestrationError(Box::new(error))
×
44
    }
×
45
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc