module React module Sinatra class RuntimeError < ::RuntimeError def initialize(component, props, message:, **) = ["Encountered error \"#{}\" when prerendering #{component} with #{props}", .backtrace.join(?\n)].join(?\n) super() end end end end
module React module Sinatra class RuntimeError < ::RuntimeError def initialize(component, props, message:, **) = ["Encountered error \"#{}\" when prerendering #{component} with #{props}", .backtrace.join(?\n)].join(?\n) super() end end end end