github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/api/router/routererror/unauthorized_error.go (about) 1 package routererror 2 3 // UnauthorizedError is returned when the client does not have the correct 4 // permissions to execute the request. 5 type UnauthorizedError struct { 6 Message string 7 } 8 9 func (e UnauthorizedError) Error() string { 10 return e.Message 11 }