Logo Navs

MatchErrorKind Type

The reason a template or URL did not match.

Record fields

Record Field Description

MissingQueryParams

Full Usage: MissingQueryParams

Field type: MatchErrorKind
Modifiers: static

The URL omits query parameters the template marks as required.

Field type: MatchErrorKind

QueryParameterMissing

Full Usage: QueryParameterMissing

Field type: MatchErrorKind
Modifiers: static

A query parameter the template marks as required is absent.

Field type: MatchErrorKind

QueryParameterUnparsable

Full Usage: QueryParameterUnparsable

Field type: MatchErrorKind
Modifiers: static

A query parameter does not parse as its declared type.

Field type: MatchErrorKind

QueryParametersUnparsable

Full Usage: QueryParametersUnparsable

Field type: MatchErrorKind
Modifiers: static

Several repeated query values do not parse as their declared type.

Field type: MatchErrorKind

SegmentLengthMismatch

Full Usage: SegmentLengthMismatch

Field type: MatchErrorKind
Modifiers: static

The template and the URL declare a different number of segments.

Field type: MatchErrorKind

SegmentMismatch

Full Usage: SegmentMismatch

Field type: MatchErrorKind
Modifiers: static

A literal template segment and the URL segment differ.

Field type: MatchErrorKind

TemplateParsing

Full Usage: TemplateParsing

Field type: MatchErrorKind
Modifiers: static

The template text is not a valid route template.

Field type: MatchErrorKind

UnparsableParam

Full Usage: UnparsableParam

Field type: MatchErrorKind
Modifiers: static

A path parameter does not parse as its declared type.

Field type: MatchErrorKind

UrlParsing

Full Usage: UrlParsing

Field type: MatchErrorKind
Modifiers: static

The URL text is not a valid URL.

Field type: MatchErrorKind

value__

Full Usage: value__

Field type: int
Modifiers: mutable
Field type: int

Type something to start searching.