HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions
hi::v1::uri_error Class Reference
Inheritance diagram for hi::v1::uri_error:
hi::v1::parse_error std::runtime_error std::exception

Public Member Functions

template<typename It , typename... Args>
constexpr parse_error (It first, It last, int tab_size, char const *msg, Args const &...args) noexcept
 Create a parse error at a specific point in UTF-8 encoded text.
 
template<typename It , typename... Args>
constexpr parse_error (It first, It last, char const *msg, Args const &...args) noexcept
 Create a parse error at a specific point in UTF-8 encoded text.
 
- Public Member Functions inherited from hi::v1::parse_error
template<typename It , typename... Args>
constexpr parse_error (It first, It last, int tab_size, char const *msg, Args const &...args) noexcept
 Create a parse error at a specific point in UTF-8 encoded text.
 
template<typename It , typename... Args>
constexpr parse_error (It first, It last, char const *msg, Args const &...args) noexcept
 Create a parse error at a specific point in UTF-8 encoded text.
 
- Public Member Functions inherited from std::runtime_error
runtime_error (T... args)
 
what (T... args)
 
- Public Member Functions inherited from std::exception
what (T... args)
 
~exception (T... args)
 
operator= (T... args)
 
exception (T... args)
 

Additional Inherited Members

- Static Public Member Functions inherited from hi::v1::parse_error
template<typename It >
static constexpr std::pair< size_t, size_t > get_line_position (It first, It last, size_t tab_size) noexcept
 Get the line and column position of an iterator in a UTF-8 string.
 

Member Function Documentation

◆ parse_error() [1/2]

template<typename It , typename... Args>
constexpr hi::v1::parse_error::parse_error ( It first,
It last,
char const * msg,
Args const &... args )
inlineconstexprnoexcept

Create a parse error at a specific point in UTF-8 encoded text.

Parameters
firstAn iterator to the start of the text.
lastAn iterator to the position of the character where the error occurred.
msgA std::format msg.
argsThe arguments for std::format.

◆ parse_error() [2/2]

template<typename It , typename... Args>
constexpr hi::v1::parse_error::parse_error ( It first,
It last,
int tab_size,
char const * msg,
Args const &... args )
inlineconstexprnoexcept

Create a parse error at a specific point in UTF-8 encoded text.

Parameters
firstAn iterator to the start of the text.
lastAn iterator to the position of the character where the error occurred.
tab_sizeThe number of spaces a tab character indents.
msgA std::format msg.
argsThe arguments for std::format.

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