Files
addrss.io/pkg/auth/errors.go
2025-09-06 21:35:45 -04:00

18 lines
284 B
Go

package auth
type authError struct {
InnerError error
}
type ErrorUnauthorized authError
func (eu *ErrorUnauthorized) Error() string {
return "Invalid username or password"
}
type ErrorForbidden authError
func (ef *ErrorForbidden) Error() string {
return "Access is denied"
}