Module: JS
- Defined in:
- opal/opal/corelib/error.rb
Class Method Summary collapse
Class Method Details
.const_missing(const) ⇒ Object
337 338 339 340 341 342 343 344 345 346 |
# File 'opal/opal/corelib/error.rb', line 337 def self.const_missing(const) if const == :Error warn '[Opal] JS::Error class has been renamed to Opal::Raw::Error and will change semantics in Opal 2.1. ' \ 'To ensure forward compatibility, please update your rescue clauses.' ::Opal::Raw::Error else super end end |