next.js
0f9f442b - Consolidate server actions transform errors into `emit_error` function (#72811)

Commit
1 year ago
Consolidate server actions transform errors into `emit_error` function (#72811) 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 same approach is already used for the React Server Components transforms.
Author
Parents
Loading