(&self, name: &str)
| 397 | } |
| 398 | |
| 399 | pub fn lookup_error_opt(&self, name: &str) -> Option<PyObjectRef> { |
| 400 | self.inner.read().errors.get(name).cloned() |
| 401 | } |
| 402 | |
| 403 | pub fn lookup_error(&self, name: &str, vm: &VirtualMachine) -> PyResult<PyObjectRef> { |
| 404 | self.lookup_error_opt(name) |
no test coverage detected