• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vortex-data / vortex / 16331938722

16 Jul 2025 10:49PM UTC coverage: 80.702% (-0.9%) from 81.557%
16331938722

push

github

web-flow
feat: build with stable rust (#3881)

120 of 173 new or added lines in 28 files covered. (69.36%)

174 existing lines in 102 files now uncovered.

41861 of 51871 relevant lines covered (80.7%)

157487.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/vortex-error/src/python.rs
1
// SPDX-License-Identifier: Apache-2.0
2
// SPDX-FileCopyrightText: Copyright the Vortex contributors
3

4
//! Python bindings for Vortex errors.
5

6
use std::backtrace::Backtrace;
7

8
use pyo3::PyErr;
9
#[cfg(feature = "python")]
10
use pyo3::exceptions::PyValueError;
11

12
use crate::VortexError;
13

14
impl From<VortexError> for PyErr {
15
    fn from(value: VortexError) -> Self {
×
16
        PyValueError::new_err(value.to_string())
×
17
    }
×
18
}
19

20
impl From<PyErr> for VortexError {
21
    fn from(value: PyErr) -> Self {
×
NEW
22
        VortexError::InvalidArgument(value.to_string().into(), Box::new(Backtrace::capture()))
×
23
    }
×
24
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc