github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/cf/errors/not_authorized_error.go (about) 1 package errors 2 3 import ( 4 . "code.cloudfoundry.org/cli/cf/i18n" 5 ) 6 7 type NotAuthorizedError struct { 8 } 9 10 func NewNotAuthorizedError() error { 11 return &NotAuthorizedError{} 12 } 13 14 func (err *NotAuthorizedError) Error() string { 15 return T("Server error, status code: 403, error code: 10003, message: You are not authorized to perform the requested action") 16 }