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

getdozer / dozer / 5960793671

24 Aug 2023 07:31AM UTC coverage: 76.217% (+0.5%) from 75.706%
5960793671

push

github

web-flow
chore: Add `PipelineContract` type alias (#1904)

46996 of 61661 relevant lines covered (76.22%)

42184.67 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