ARKI_STRING_E004
thrownThis error is thrown. It stops your code unless you catch it. Fix the cause below; catching it only hides the problem.
What happened
An `interpolate` template has a malformed placeholder.
Fix
Write placeholders as `{{ name }}` with an identifier inside, and close every `{{` with `}}`.
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/errors.ts:36