Exception: RSCM::Accurev::AccurevException
- Inherits:
-
StandardError
- Object
- StandardError
- RSCM::Accurev::AccurevException
- Defined in:
- lib/rscm/scm/accurev/exception.rb
Overview
General exception class for errors processing commands.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error_msg ⇒ Object
Error message output by accurev.
Instance Method Summary collapse
-
#initialize(msg, error_msg = nil) ⇒ AccurevException
constructor
A new instance of AccurevException.
Constructor Details
#initialize(msg, error_msg = nil) ⇒ AccurevException
Returns a new instance of AccurevException.
27 28 29 30 |
# File 'lib/rscm/scm/accurev/exception.rb', line 27 def initialize( msg, error_msg=nil ) super( "#{msg}: #{error_msg}" ) @error_msg = error_msg end |
Instance Attribute Details
#error_msg ⇒ Object
Error message output by accurev.
25 26 27 |
# File 'lib/rscm/scm/accurev/exception.rb', line 25 def error_msg @error_msg end |