MCPcopy
hub / github.com/gorilla/mux / GetError

Method GetError

route.go:115–117  ·  view source on GitHub ↗

---------------------------------------------------------------------------- Route attributes ---------------------------------------------------------------------------- GetError returns an error resulted from building the route, if any.

()

Source from the content-addressed store, hash-verified

113
114// GetError returns an error resulted from building the route, if any.
115func (r *Route) GetError() error {
116 return r.err
117}
118
119// BuildOnly sets the route to never match: it is only used to build URLs.
120func (r *Route) BuildOnly() *Route {

Callers 3

TestNameMultipleCallsFunction · 0.80
TestWalkErrorMatcherFunction · 0.80
TestWalkErrorHandlerFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestNameMultipleCallsFunction · 0.64
TestWalkErrorMatcherFunction · 0.64
TestWalkErrorHandlerFunction · 0.64