// SessionReject should be used as sessionup's rejection function.
SessionReject should be used as sessionup's rejection function.
// SessionReject should be used as sessionup ' s rejection function .
func SessionReject(log zerolog.Logger) func(error) http.Handler {
	return func(err error) http.Handler {
		return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
			RespondError(log, w, r, err)
		})
	}
}
func SessionReject ( log zerolog . Logger ) func ( error ) http . Handler { return func ( err error ) http . Handler { return http . HandlerFunc ( func ( w http . ResponseWriter , r * http . Request ) { RespondError ( log , w , r , err ) } ) } }
SessionReject should be used as sessionup's rejection function.
SessionReject should be used as sessionup ' s rejection function .