irccd  3.0.3
Public Member Functions | List of all members
irccd::ini::exception Class Reference

exception in a file. More...

#include <ini.hpp>

Inheritance diagram for irccd::ini::exception:

Public Member Functions

 exception (unsigned line, unsigned column, std::string msg) noexcept
 
auto line () const noexcept -> unsigned
 
auto column () const noexcept -> unsigned
 
auto what () const noexcept -> const char *override
 

Detailed Description

exception in a file.

Constructor & Destructor Documentation

◆ exception()

irccd::ini::exception::exception ( unsigned  line,
unsigned  column,
std::string  msg 
)
noexcept

Constructor.

Parameters
linethe line
columnthe column
msgthe message

Member Function Documentation

◆ column()

auto irccd::ini::exception::column ( ) const -> unsigned
noexcept

Get the column number.

Returns
the column

◆ line()

auto irccd::ini::exception::line ( ) const -> unsigned
noexcept

Get the line number.

Returns
the line

◆ what()

auto irccd::ini::exception::what ( ) const -> const char *override
overridenoexcept

Return the raw exception message (no line and column shown).

Returns
the exception message

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