Handbook
Glossary
ulid>bytes-bad-character ( ch -- * )
Universally Unique Lexicographically Sortable Identifier
ยป
ulid>bytes
Prev:
ulid>bytes-bad-length ( n -- * )
Next:
ulid>bytes-overflow ( -- * )
Vocabulary
ulid
Inputs
ch
a character
Outputs
None
Word description
Throws a
ulid>bytes-bad-character
error.
Error description
This error is thrown if during ULID to byte-array conversion a character
ch
is encountered in the input string, which is not part of the supported
encoding
. Try using
normalize-ulid
before the conversion.
Definition
IN:
ulid
ERROR:
ulid>bytes-bad-character
ch
;
Methods
USING:
kernel
summary
ulid
;
M:
ulid>bytes-bad-character
summary
drop
"Invalid character in ULID"
;