Skip to main content

Module error

Module error 

Source
Expand description

Error handling for scirs2-python

This module provides comprehensive error types and conversions for Python exceptions.

Enums§

SciRS2Error
Main error type for scirs2-python operations

Traits§

ArrayAccessExt
Helper trait for converting numpy array access errors

Functions§

check_min_length
Helper function to validate minimum array length
check_not_empty
Helper function to validate array is not empty
check_same_length
Helper function to validate arrays have same length
get_array_slice
Helper function to safely get array slice with context
get_array_slice_2d
Helper function to safely get 2D array slice with context