Minsky
minsky::OnError Struct Reference

handle reporting errors in loadValueFromCSVFileT when loading files More...

Collaboration diagram for minsky::OnError:
Collaboration graph

Public Member Functions

template<class E >
void operator() (const E &ex, size_t row)
 called on error - ex message to pass on, row - current row More...
 
void rowKeyInsert (const Key &, size_t)
 update a map of keys to first rows for duplicate key processing More...
 

Detailed Description

handle reporting errors in loadValueFromCSVFileT when loading files

Definition at line 620 of file CSVParser.cc.

Member Function Documentation

◆ operator()()

template<class E >
void minsky::OnError::operator() ( const E &  ex,
size_t  row 
)
inline

called on error - ex message to pass on, row - current row

Definition at line 623 of file CSVParser.cc.

623 {throw ex;}

◆ rowKeyInsert()

void minsky::OnError::rowKeyInsert ( const Key &  ,
size_t   
)
inline

update a map of keys to first rows for duplicate key processing

Definition at line 625 of file CSVParser.cc.

625 {}

The documentation for this struct was generated from the following file: