:relfileprefix: ../../
[#boost-urls-error]

= xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::error


Error codes returned the library


== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/error.hpp#L22[boost/url/error.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
enum error : int;
----

== Members
[,cols=2]
|===
|Name |Description
|xref:boost/urls/error/success.adoc[`pass:v[success]`] |
The operation completed successfully.

|xref:boost/urls/error/illegal_null.adoc[`pass:v[illegal_null]`] |
Null encountered in pct-encoded.

|xref:boost/urls/error/illegal_reserved_char.adoc[`pass:v[illegal_reserved_char]`] |
Illegal reserved character in encoded string.

|xref:boost/urls/error/non_canonical.adoc[`pass:v[non_canonical]`] |
A grammar element was not in canonical form.

|xref:boost/urls/error/bad_pct_hexdig.adoc[`pass:v[bad_pct_hexdig]`] |
Bad hexadecimal digit.

|xref:boost/urls/error/incomplete_encoding.adoc[`pass:v[incomplete_encoding]`] |
The percent-encoded sequence is incomplete.

|xref:boost/urls/error/missing_pct_hexdig.adoc[`pass:v[missing_pct_hexdig]`] |
Missing hexadecimal digit.

|xref:boost/urls/error/no_space.adoc[`pass:v[no_space]`] |
No space in output buffer

|xref:boost/urls/error/not_a_base.adoc[`pass:v[not_a_base]`] |
The URL is not a base URL

|===


