Skip to content

Commit

Permalink
Updating error message
Browse files Browse the repository at this point in the history
  • Loading branch information
whaeck committed Oct 12, 2023
1 parent 0cb2d0b commit 3904d40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tools/ranges/IteratorView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ class IteratorView {

if ( i >= this->size() ) {

throw std::out_of_range( "Index out of range: " + std::to_string( i ) +
" >= size (" + std::to_string( this->size() ) +
")" );
throw std::out_of_range( "Index out of range in IteratorView: " +
std::to_string( i ) + " >= size (" +
std::to_string( this->size() ) + ")" );
}
return this->operator[]( i );
}
Expand Down

0 comments on commit 3904d40

Please sign in to comment.