Enum proptest::string::Error
[−]
pub enum Error {
RegexSyntax(Error),
UnsupportedRegex(&'static str),
}Errors which may occur when preparing a regular expression for use with string generation.
Variants
RegexSyntax(Error)The string passed as the regex was not syntactically valid.
UnsupportedRegex(&'static str)The regex was syntactically valid, but contains elements not supported by proptest.
Trait Implementations
impl Debug for Error[src]
impl Display for Error
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more