batchlas::out_of_range Class Reference

Overview

An index is outside its container.

Thrown only by MatrixView::at(row, col, batch) and batch_item(i). Not retryable. Kept separate from invalid_argument because std::out_of_range is what pybind11 maps to Python's IndexError.

Definition at line 91 of file error.hh.

#include <batchlas/error.hh>

Inheritance diagram for batchlas::out_of_range:

Constructors

◆ out_of_range() [1/2]

batchlas::out_of_range::out_of_range ( const std::string & what_arg)
inlineexplicit

Definition at line 93 of file error.hh.

◆ out_of_range() [2/2]

batchlas::out_of_range::out_of_range ( const char * what_arg)
inlineexplicit

Definition at line 95 of file error.hh.