Exception: NexusCli::UserNotFoundException
- Inherits:
-
NexusCliError
- Object
- StandardError
- NexusCliError
- NexusCli::UserNotFoundException
- Defined in:
- lib/nexus_cli/errors.rb
Instance Method Summary collapse
-
#initialize(id) ⇒ UserNotFoundException
constructor
A new instance of UserNotFoundException.
- #message ⇒ Object
Methods inherited from NexusCliError
Constructor Details
#initialize(id) ⇒ UserNotFoundException
Returns a new instance of UserNotFoundException.
166 167 168 |
# File 'lib/nexus_cli/errors.rb', line 166 def initialize(id) @id = id end |
Instance Method Details
#message ⇒ Object
170 171 172 |
# File 'lib/nexus_cli/errors.rb', line 170 def "A user with the ID of #{@id} could not be found. Please ensure it exists." end |