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

voiceapiai / ralertsinua / 9134287912

17 May 2024 09:08PM UTC coverage: 29.214% (-0.7%) from 29.893%
9134287912

push

github

web-flow
chore: change dependecnies for cache and errors (#9)

The recent changes introduce several updates across the project, focusing on improving error handling, enhancing the release process, and refining functionality. Key updates include a new CI workflow for automated releases, enhanced error diagnostics with miette, caching improvements in the HTTP client, and various simplifications to serialization and deserialization logic. Additionally, new configuration options and methods have been added to support better application performance and maintainability.

77 of 375 new or added lines in 21 files covered. (20.53%)

18 existing lines in 12 files now uncovered.

565 of 1934 relevant lines covered (29.21%)

4.68 hits per line

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

0.0
/src/error.rs
1
#[allow(unused_imports)]
2
use miette::{Diagnostic, SourceSpan};
3
use thiserror::Error;
4

5
use crate::action::*;
6

7
/// Groups up the kinds of errors that may happen in this crate.
NEW
8
#[derive(Error, Diagnostic, Debug)]
×
9
#[error("ralertsinua error!")]
10
pub enum AppError {
11
    #[error("input/output error: {0}")]
12
    Io(#[from] std::io::Error),
13
    #[error("tokio send error: {0}")]
14
    TokioSend(#[from] tokio::sync::mpsc::error::SendError<Action>),
15
    #[error("tokio channel error: {0}")]
16
    TokioChannel(#[from] tokio::sync::mpsc::error::TrySendError<Action>),
17
    // #[error("encode error: {0}")]
18
    // Encode(#[from] rmp_serde::encode::Error),
19
    // #[error("decode error: {0}")]
20
    // Decode(#[from] rmp_serde::decode::Error),
21
    #[error("json parse error: {0}")]
22
    ParseJson(#[from] serde_json::Error),
23
    #[error("component error")]
24
    #[diagnostic(code(ralertsinua::component))]
25
    ComponentError,
26
    #[error("API error")]
27
    #[diagnostic(transparent)]
28
    ApiError(#[from] ralertsinua_http::ApiError),
29
    #[error("unknown error")]
30
    Unknown,
31
}
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