Class: Brocade::SAN::Provisioning::Agent::Error
- Inherits:
-
Brocade::SAN::Provisioning.selfself::Error
- Object
- Brocade::SAN::Provisioning.selfself::Error
- Brocade::SAN::Provisioning::Agent::Error
- Defined in:
- lib/brocadesan/provisioning.rb
Overview
Class that holds Agent::Error messages
Constant Summary collapse
- BAD_USER =
"User has insufficient rights to do provisioning"
- TRNS_IPRG =
"Another zoning transaction is already in progress"
- ALIAS_BAD =
"Parameter should be of Alias class"
- MEMBER_BAD =
"Parameter should be of Alias or Wwn class"
- MEMBER_BAD_2 =
"Parameter should be of Wwn or D,P notation"
- ZONE_BAD =
"Parameter should be of Zone class"
- CFG_BAD =
"Parameter should be of ZoneConfiguration class"
- CFGSAVE_CANC =
"cfgsave was cancelled"
- CFGSAVE_NOCHANGE =
"cfgsave: nothing changed, nothing to save"
- TRANS_NOTOWNER =
"Cannot abort transaction you are not owner of"
- OBJ_NOTEXIST =
"does not exist"
- MEMBERS_EMPTY =
"Cannot create. Object has no members"
- ALIAS_MEMBER_BAD =
"Not correct alias member"
- TRANS_UNEXPECTED =
"Cannot get transaction details"
- TRANS_UNLOCKABLE =
"Cannot get transaction lock"
Class Method Summary collapse
- .cannot_obtain_transaction_lock ⇒ Object
-
.does_not_exist(str) ⇒ Object
used to raise modifyable “does not exist message”.
-
.members_empty ⇒ Object
:nodoc:.
Class Method Details
.cannot_obtain_transaction_lock ⇒ Object
844 845 846 |
# File 'lib/brocadesan/provisioning.rb', line 844 def self.cannot_obtain_transaction_lock new(TRANS_UNLOCKABLE) end |
.does_not_exist(str) ⇒ Object
used to raise modifyable “does not exist message”
836 837 838 |
# File 'lib/brocadesan/provisioning.rb', line 836 def self.does_not_exist(str) #:nodoc: new("#{str} #{OBJ_NOTEXIST}") end |
.members_empty ⇒ Object
:nodoc:
840 841 842 |
# File 'lib/brocadesan/provisioning.rb', line 840 def self.members_empty #:nodoc: new(MEMBERS_EMPTY) end |