Exception: UncaughtThrowError
- Inherits:
- 
      ArgumentError
      
        - Object
- Exception
- StandardError
- ArgumentError
- UncaughtThrowError
 
- Defined in:
- opal/opal/corelib/error.rb
Instance Attribute Summary collapse
- 
  
    
      #arg  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute arg. 
- 
  
    
      #sym  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute sym. 
Instance Method Summary collapse
- 
  
    
      #initialize(args)  ⇒ UncaughtThrowError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UncaughtThrowError. 
Methods inherited from Exception
#backtrace, exception, #exception, #inspect, #message, new, #to_s
Constructor Details
#initialize(args) ⇒ UncaughtThrowError
Returns a new instance of UncaughtThrowError
| 108 109 110 111 112 113 | # File 'opal/opal/corelib/error.rb', line 108 def initialize(args) @sym = args[0] @arg = args[1] if args.length > 1 super("uncaught throw #{@sym.inspect}") end |