module Roda::RodaPlugins::Sessions::RequestMethods

def _session_serialization_error(msg)

such as improper session cookies.
This is used for errors that shouldn't be raised as exceptions,
If 'rack.errors' is set, write the error message to it.
def _session_serialization_error(msg)
  return unless error_stream = @env['rack.errors']
  error_stream.puts(msg)
  nil
end