Skip to content

URITemplateParseError

[Source]

Describes why a URI template string failed to parse.

Contains a human-readable error message and the byte offset in the template string where the error was detected.

class val URITemplateParseError

Constructors

create

[Source]

Create a parse error with the given message and byte offset.

new val create(
  message': String val,
  offset': USize val)
: URITemplateParseError val^

Parameters

Returns


Public fields

let message: String val

[Source]


let offset: USize val

[Source]


Public Functions

string

[Source]

Format as "offset N: message".

fun box string()
: String iso^

Returns