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

Error codes returned when using rules

== Synopsis

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

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

== Members

[cols="1,4"]
|===
| Name| Description
| `need&lowbar;more` 
| More input is needed to match the rule
| `mismatch` 
| The rule did not match the input&period;
| `end&lowbar;of&lowbar;range` 
| A rule reached the end of a range
| `leftover` 
| Leftover input remaining after match&period;
| `invalid` 
| A rule encountered unrecoverable invalid input&period;
| `out&lowbar;of&lowbar;range` 
| An integer overflowed during parsing&period;
| `syntax` 
| An unspecified syntax error was found&period;
|===

== See Also

xref:boost/urls/grammar/condition.adoc[`condition`], xref:boost/urls/grammar/parse-09.adoc[`parse`]&period;


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