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

Type conversion error. More...

#include <csv.hpp>

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

Public Member Functions

 Type_conversion_error (const std::string &field)
 
std::string field () 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

Type conversion error.

Thrown when Reader fails convert a field to requested type

Constructor & Destructor Documentation

◆ Type_conversion_error()

csv::Type_conversion_error::Type_conversion_error ( const std::string & field)
inlineexplicit
Parameters
fieldValue of field that failed to convert

Member Function Documentation

◆ field()

std::string csv::Type_conversion_error::field ( ) const
inline
Returns
Value of field that failed to convert

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