github.com/liamawhite/cli-with-i18n@v6.32.1-0.20171122084555-dede0a5c3448+incompatible/cf/errors/access_denied_error.go (about)

     1  package errors
     2  
     3  import . "github.com/liamawhite/cli-with-i18n/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  }