server function error handling - SolidJS