all: replace UserVisibleError with vizerror package
Updates tailscale/corp#9025 Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
@@ -91,9 +91,3 @@ type Client interface {
|
||||
// distinguish one client from another.
|
||||
ClientID() int64
|
||||
}
|
||||
|
||||
// UserVisibleError is an error that should be shown to users.
|
||||
type UserVisibleError string
|
||||
|
||||
func (e UserVisibleError) Error() string { return string(e) }
|
||||
func (e UserVisibleError) UserVisibleError() string { return string(e) }
|
||||
|
||||
Reference in New Issue
Block a user