cloudfoundry/cf-k8s-controllers

View on GitHub
api/handlers/errors.go

Summary

Maintainability
A
0 mins
Test Coverage
package handlers

import (
    "net/http"

    "code.cloudfoundry.org/korifi/api/errors"
    "code.cloudfoundry.org/korifi/api/routing"
)

func NotFound(r *http.Request) (*routing.Response, error) {
    return nil, errors.NewEndpointNotFoundError()
}