MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / NewResourceNotFoundException

Function NewResourceNotFoundException

pkg/error/error.go:333–340  ·  view source on GitHub ↗
(cause string, lasterr error)

Source from the content-addressed store, hash-verified

331}
332
333func NewResourceNotFoundException(cause string, lasterr error) FinalError {
334 return NewGenericException(BasicError{
335 Code: ResourceNotFoundException,
336 Cause: cause,
337 Message: "The resource specified in the request does not exist",
338 Status: http.StatusNotFound,
339 }, lasterr)
340}

Callers

nothing calls this directly

Calls 1

NewGenericExceptionFunction · 0.85

Tested by

no test coverage detected