Do.Error Class
Deprecated: use Y.Do.Halt or Y.Do.Prevent
Return an Error object when you want to terminate the execution of all subsequent method calls.
Constructor
Do.Error
    
        
            (
    
    
    
        deprecated
    
    
    
    
    
    
    
    - 
                    
                        
msg - 
                    
                        
retVal 
Parameters:
- 
                    
                        
msgString(optional) Explanation of the altered return value
 - 
                    
                        
retValAnyReturn value passed to code that invoked the wrapped function.
 
