github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/cf/errors/access_denied_error.go (about)

     1  package errors
     2  
     3  import . "code.cloudfoundry.org/cli/cf/i18n"
     4  
     5  type AccessDeniedError struct {
     6  }
     7  
     8  func NewAccessDeniedError() *AccessDeniedError {
     9  	return &AccessDeniedError{}
    10  }
    11  
    12  func (err *AccessDeniedError) Error() string {
    13  	return T("Server error, status code: 403: Access is denied.  You do not have privileges to execute this command.")
    14  }