MCPcopy Index your code
hub / github.com/labstack/echo / newAddRouteError

Function newAddRouteError

router.go:438–444  ·  view source on GitHub ↗
(route Route, err error)

Source from the content-addressed store, hash-verified

436func (e *AddRouteError) Unwrap() error { return e.Err }
437
438func newAddRouteError(route Route, err error) *AddRouteError {
439 return &AddRouteError{
440 Method: route.Method,
441 Path: route.Path,
442 Err: err,
443 }
444}
445
446// Add registers a new route for method and path with matching handler.
447func (r *DefaultRouter) Add(route Route) (RouteInfo, error) {

Callers 1

AddMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…