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

zbraniecki / icu4x / 9207498870

23 May 2024 07:11AM UTC coverage: 76.113% (-0.3%) from 76.402%
9207498870

push

github

web-flow
Add to `IsoDurationParser` documentation in `ixdtf` (#4916)

53397 of 70155 relevant lines covered (76.11%)

514353.71 hits per line

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

0.0
/components/collections/src/codepointtrie/error.rs
1
// This file is part of ICU4X. For terms of use, please see the file
2
// called LICENSE at the top level of the ICU4X source tree
3
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
4

5
//! Custom error type(s) for the parent module.
6

7
use displaydoc::Display;
8

9
/// A custom error type for [`CodePointTrie`](super::CodePointTrie).
10
///
11
/// Re-exported as [Error][super::Error].
12
#[derive(Copy, Clone, Display, Debug, PartialEq)]
×
13
#[non_exhaustive]
14
pub enum Error {
15
    /// Could not construct [`CodePointTrie`](super::CodePointTrie) from deserialized values
16
    #[displaydoc("Could not construct CodePointTrie from deserialized values: {reason}")]
×
17
    FromDeserialized {
18
        /// Reason for inability to deserialize values.
19
        reason: &'static str,
×
20
    },
21
    /// [`CodePointTrie`](super::CodePointTrie) must be constructed from data vector with at least one element
22
    #[displaydoc("CodePointTrie must be constructed from data vector with at least one element")]
23
    EmptyDataVector,
24
}
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

© 2025 Coveralls, Inc