NewNotFoundError is an alias for [router.NewNotFoundError].
(message string, errData any)
| 23 | |
| 24 | // NewNotFoundError is an alias for [router.NewNotFoundError]. |
| 25 | func NewNotFoundError(message string, errData any) *router.ApiError { |
| 26 | return router.NewNotFoundError(message, errData) |
| 27 | } |
| 28 | |
| 29 | // NewForbiddenError is an alias for [router.NewForbiddenError]. |
| 30 | func NewForbiddenError(message string, errData any) *router.ApiError { |
nothing calls this directly
no test coverage detected
searching dependent graphs…