csvpp 1.2.0
CSV parsing / writing libraries
Loading...
Searching...
No Matches
Public Member Functions | List of all members
csv::Parse_error Class Referencefinal

Parsing error. More...

#include <csv.hpp>

Inheritance diagram for csv::Parse_error:
Inheritance graph
[legend]
Collaboration diagram for csv::Parse_error:
Collaboration graph
[legend]

Public Member Functions

 Parse_error (const std::string &type, int line_no, int col_no)
 
std::string type () const
 
int line_no () const
 
int col_no () const
 
- Public Member Functions inherited from csv::Error
const char * what () const override throw ()
 

Additional Inherited Members

- Protected Member Functions inherited from csv::Error
 Error (const std::string &msg)
 

Detailed Description

Parsing error.

Thrown when Reader encounters a parsing error

Constructor & Destructor Documentation

◆ Parse_error()

csv::Parse_error::Parse_error ( const std::string & type,
int line_no,
int col_no )
inline
Parameters
typeParsing error type (ie. quote found inside of unquoted field)
line_noLine that the error occured on
col_noColumn that the error occured on

Member Function Documentation

◆ col_no()

int csv::Parse_error::col_no ( ) const
inline
Returns
Column that the error occured on

◆ line_no()

int csv::Parse_error::line_no ( ) const
inline
Returns
Line number that the error occured on

◆ type()

std::string csv::Parse_error::type ( ) const
inline
Returns
Paring error type (ie. quote found inside of unquoted field)

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