Expose error types, hide Length type

This commit is contained in:
asonix 2020-05-21 15:29:45 -05:00
parent 43bc990275
commit f246e780d4

View file

@ -15,10 +15,13 @@
use crate::either::Either;
pub use activitystreams::primitives::{
Length, MimeMediaType, RdfLangString, XsdAnyUri, XsdDateTime, XsdDuration, XsdFloat,
MimeMediaType, MimeMediaTypeError, RdfLangString, XsdAnyUri, XsdAnyUriError, XsdDateTime,
XsdDateTimeError, XsdDuration, XsdDurationError, XsdFloat, XsdFloatError,
XsdNonNegativeInteger, XsdString,
};
use activitystreams::primitives::Length;
/// A type representing any kind of string
///
/// In the ActivityStreams specification, string types are often defined as either an xsd:String or