// NotFound handles cases when request is sent to a non-existing endpoint.
NotFound handles cases when request is sent to a non-existing endpoint.
// NotFound handles cases when request is sent to a non - existing endpoint .
func NotFound(log zerolog.Logger) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		RespondError(log, w, r, ErrNotFound)
	}
}
func NotFound ( log zerolog . Logger ) http . HandlerFunc { return func ( w http . ResponseWriter , r * http . Request ) { RespondError ( log , w , r , ErrNotFound ) } }
NotFound handles cases when request is sent to a non-existing endpoint.
NotFound handles cases when request is sent to a non - existing endpoint .