next.js
Show a proper error if a server function's bound args cannot be serialized
#73471
Merged

Commits
  • Log error if bound args fail to be encrypted
    unstubbable committed 1 year ago
  • Collect function declarations that server functions close over
    unstubbable committed 1 year ago
  • Use `ExprFactory` helper functions
    unstubbable committed 1 year ago
  • Handle unknown errors in generated `catch`
    unstubbable committed 1 year ago
  • Re-throw error
    unstubbable committed 1 year ago
  • Re-throw newly created error
    unstubbable committed 1 year ago
  • Revert changes in `bind_args_to_ref_expr`
    unstubbable committed 1 year ago
  • Handle errors when bound args cannot be serialized
    unstubbable committed 1 year ago
  • Add a unit test for closed-over functions
    unstubbable committed 1 year ago
  • Add clarifying comments
    unstubbable committed 1 year ago
  • Show an aggregated error
    unstubbable committed 1 year ago
  • Revert "Show an aggregated error"
    unstubbable committed 1 year ago
  • Only report one server function error at a time, starting with the first
    unstubbable committed 1 year ago
Loading