[#boost-urls-error]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::error
:relfileprefix: ../../
:mrdocs:

Error codes returned the library

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/error.hpp#L22[boost&sol;url&sol;error&period;hpp]&gt;`

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

== Members


[,cols=2]
|===
| Name
| Description
|`success`
|The operation completed successfully&period;
|`illegal&lowbar;null`
|Null encountered in pct&hyphen;encoded&period;
|`illegal&lowbar;reserved&lowbar;char`
|Illegal reserved character in encoded string&period;
|`non&lowbar;canonical`
|A grammar element was not in canonical form&period;
|`bad&lowbar;pct&lowbar;hexdig`
|Bad hexadecimal digit&period;
|`incomplete&lowbar;encoding`
|The percent&hyphen;encoded sequence is incomplete&period;
|`missing&lowbar;pct&lowbar;hexdig`
|Missing hexadecimal digit&period;
|`no&lowbar;space`
|No space in output buffer
|`not&lowbar;a&lowbar;base`
|The URL is not a base URL
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
