github.com/sleungcy-sap/cli@v7.1.0+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  }