Exception: NexusCli::NotProxyRepositoryException

Inherits:
NexusCliError
  • Object
show all
Defined in:
lib/nexus_cli/errors.rb

Instance Method Summary collapse

Methods inherited from NexusCliError

status_code

Constructor Details

#initialize(repository_id) ⇒ NotProxyRepositoryException

Returns a new instance of NotProxyRepositoryException.



196
197
198
# File 'lib/nexus_cli/errors.rb', line 196

def initialize(repository_id)
  @repository_id = repository_id
end

Instance Method Details

#messageObject



200
201
202
# File 'lib/nexus_cli/errors.rb', line 200

def message
  "The #{@repository_id} repository is not a Proxy repository and cannot subscribe to artifact updates."
end