string.invalid_utf8
failureThis is a failure. A function returns it as a value, so your code keeps running and you decide what to do.
What happened
Invalid UTF-8. No submitted text or bytes are exposed.
Fix
Pass well-formed text or valid UTF-8 bytes.
Check the fix
bun run testRun it after the fix. It passes when the fix worked.
Where it comes from
- Package
- @arki/string
- Version
- 0.3.0 · next release candidate
- Source
- src/base64.ts:14