std/identifier/error

std/identifier/src/error.trb

IdentifierError: what a text is refused with when it is read as an identifier (docs/design/URI.md section 12).

type IdentifierError

type IdentifierError with Show, Error

What a text that is not an identifier is refused with.

field text

text: String

The text that was refused.

field expected

expected: String

What was expected of it, e.g. a UUID.

fn show

fn show(): String

`not-an-id` is not a UUID.