Upa URL C++ library
A WHATWG URL Standard implementation
Loading...
Searching...
No Matches
upa::url_error Class Reference

URL exception class. More...

#include <upa/url_result.h>

Inheritance diagram for upa::url_error:

Public Member Functions

 url_error (validation_errc res, const char *what_arg)
validation_errc result () const noexcept

Detailed Description

URL exception class.

Definition at line 103 of file url_result.h.

Constructor & Destructor Documentation

◆ url_error()

upa::url_error::url_error ( validation_errc res,
const char * what_arg )
inlineexplicit

constructs a new url_error object with the given result code and error message

Parameters
[in]resvalidation error code
[in]what_argerror message

Definition at line 109 of file url_result.h.

Member Function Documentation

◆ result()

validation_errc upa::url_error::result ( ) const
inlinenodiscardnoexcept
Returns
validation error code

Definition at line 115 of file url_result.h.


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