devela/text/parse/
reexports.rs

1// devela::text::parse::reexports
2//
3//!
4//
5
6use crate::reexport;
7
8reexport! { rust: core::num,
9    tag: crate::TAG_ERROR!(),
10    doc: "An error which can be returned when parsing an integer.",
11    ParseIntError
12}
13reexport! { rust: core::num,
14    tag: crate::TAG_ERROR!(),
15    doc: "An error which can be returned when parsing an float.",
16    ParseFloatError
17}
18reexport! { rust: core::num,
19    tag: crate::TAG_ERROR_COMPOSITE!(),
20    doc: "Kinds of errors that can cause parsing an integer to fail.",
21    @IntErrorKind as ParseIntErrorKind
22}
23
24// NOTE: Utf8Error not re-exported. See `InvalidUtf8` instead.
25// reexport! { rust: core::str,
26//     tag: crate::TAG_ERROR!(),
27//     doc: "An error which can occur when interpreting a sequence of `u8` as a string.",
28//     Utf8Error
29// }