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

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


Error codes returned when using rules


== Synopsis

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

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

== Members
[,cols=2]
|===
|Name |Description
|xref:boost/urls/grammar/error/need_more.adoc[`pass:v[need_more]`] |
More input is needed to match the rule

|xref:boost/urls/grammar/error/mismatch.adoc[`pass:v[mismatch]`] |
The rule did not match the input.

|xref:boost/urls/grammar/error/end_of_range.adoc[`pass:v[end_of_range]`] |
A rule reached the end of a range

|xref:boost/urls/grammar/error/leftover.adoc[`pass:v[leftover]`] |
Leftover input remaining after match.

|xref:boost/urls/grammar/error/invalid.adoc[`pass:v[invalid]`] |
A rule encountered unrecoverable invalid input.

|xref:boost/urls/grammar/error/out_of_range.adoc[`pass:v[out_of_range]`] |
An integer overflowed during parsing.

|xref:boost/urls/grammar/error/syntax.adoc[`pass:v[syntax]`] |
An unspecified syntax error was found.

|===


== See Also


xref:boost/urls/grammar/condition.adoc[condition]
,
xref:boost/urls/grammar/parse-02.adoc[parse]
.



