123456789101112131415161718192021exceptionImpossible_in_ssrofstringletfail_impossible_action_in_ssrfn=letbacktrace=Printexc.get_callstack8inletraw_callstack=Printexc.raw_backtrace_to_stringbacktraceinlet()=Printf.printf{|'%s' should only run on the client. Make sure you aren't accidentally calling this function in a server-side context.
Here's the raw callstack:
%s
|}fnraw_callstackinraise(Impossible_in_ssr(Printf.sprintf{|'%s' shouldn't run on the server|}fn))typeplatform=Server|Client(* QUESTION: Can we create a lint ensuring that the callback function is uncurried? *)type'callbackserver_function={id:string;call:'callback}