Lines Matching refs:Err
38 return Err(format!("Invalid size for snoop header: {}", item.len())); in try_from()
53 return Err(format!("Id is not 'btsnoop'.")); in try_from()
57 return Err(format!("Version is not supported. Got {}.", header.version)); in try_from()
61 return Err(format!( in try_from()
151 return Err(format!("Wrong size for snoop packet preamble: {}", item.len())); in try_from()
193 Err(e) => { in next()
213 Err(e) => { in next()
222 Err(_) => None, in next()
264 Err(Error::new(ErrorKind::Other, "Unsupported log file type")) in read_log_type()
301 Err(e) => Err(format!("Couldn't parse command: {:?}", e)), in try_from()
306 Err(e) => Err(format!("Couldn't parse event: {:?}", e)), in try_from()
311 Err(e) => Err(format!("Couldn't parse acl tx: {:?}", e)), in try_from()
316 Err(e) => Err(format!("Couldn't parse acl rx: {:?}", e)), in try_from()
321 Err(e) => Err(format!("Couldn't parse new index: {:?}", e)), in try_from()
326 Err(e) => Err(format!("Couldn't parse system note: {:?}", e)), in try_from()
330 _ => Err(format!("Unhandled packet opcode: {:?}", item.opcode())), in try_from()
370 Err(e) => Err(e), in try_from()
390 Err(_) => AclContent::None, in get_acl_content()
397 Err(_) => AclContent::None, in get_acl_content()
410 Err(_) => AclContent::None, in get_acl_content()
427 return Err(format!("Invalid size for New Index packet: {}", data.len())); in parse()