[GH-ISSUE #859] Allow applyCategoryTemplate to return an error #7273

Closed
opened 2026-04-10 17:01:52 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @j-f1 on GitHub (Apr 6, 2023).
Original GitHub issue: https://github.com/actualbudget/actual/issues/859

We should update the applyCategoryTemplate API to return either a value or an error, and then update all the places where console.log is currently called inside of it to return an error too. This will allow for error checking to happen both at “compile time” and “runtime” for the rules.

Originally posted by @j-f1 in https://github.com/actualbudget/actual/pull/858#discussion_r1159190075

Originally created by @j-f1 on GitHub (Apr 6, 2023). Original GitHub issue: https://github.com/actualbudget/actual/issues/859 We should update the `applyCategoryTemplate` API to return either a value or an error, and then update all the places where `console.log` is currently called inside of it to return an error too. This will allow for error checking to happen both at “compile time” and “runtime” for the rules. _Originally posted by @j-f1 in https://github.com/actualbudget/actual/pull/858#discussion_r1159190075_
GiteaMirror added the goal templates label 2026-04-10 17:01:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#7273