github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+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  }