next.js
53ea93e6 - Consolidate server actions transform errors into `emit_error` function

Commit
2 years ago
Consolidate server actions transform errors into `emit_error` function This improves maintainability and readability by decluttering the server actions transforms implementation, dedupes a few error messages, and consistently uses periods and trailing newlines for all error messages. The approach is already used for the React Server Components transforms.
Author
Committer
bgw bgw
Parents
Loading