github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/api/cloudcontroller/ccerror/unauthorized_error.go (about)

     1  package ccerror
     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  }