We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 547171d commit e21a97bCopy full SHA for e21a97b
src/lib.rs
@@ -255,7 +255,7 @@ impl DomainExtractor {
255
}
256
257
if url_str.len() > 255 {
258
- return Err(PyValueError::new_err("Invalid domain detected"));
+ return Err(PyValueError::new_err("url is invalid: too long"));
259
260
let mut domain_string = unsafe {
261
DomainString::from_str_unchecked(url_str)
0 commit comments