NewForbiddenError is an alias for [router.NewForbiddenError].
(message string, errData any)
| 28 | |
| 29 | // NewForbiddenError is an alias for [router.NewForbiddenError]. |
| 30 | func NewForbiddenError(message string, errData any) *router.ApiError { |
| 31 | return router.NewForbiddenError(message, errData) |
| 32 | } |
| 33 | |
| 34 | // NewUnauthorizedError is an alias for [router.NewUnauthorizedError]. |
| 35 | func NewUnauthorizedError(message string, errData any) *router.ApiError { |
nothing calls this directly
no test coverage detected
searching dependent graphs…