github.com/lukasheimann/cloudfoundrycli@v7.1.0+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  }