fluent-templates icon indicating copy to clipboard operation
fluent-templates copied to clipboard

feat: Remove panic, prefer error handling

Open Syndelis opened this issue 10 months ago • 0 comments

Resolves #54

This PR swaps the panic call for proper error handling. The function now returns a Result with a specialized error type, rather than an Option.

Tests for these new errors are still TODO; I just wanted to collect some feedback on this first.

Syndelis avatar Apr 12 '24 20:04 Syndelis