Exception: Errno::EINVAL

Inherits:
SystemCallError show all
Defined in:
opal/opal/corelib/error.rb

Class Method Summary collapse

Methods inherited from Exception

#backtrace, #exception, exception, #initialize, #inspect, #message, #set_backtrace, #to_s

Constructor Details

This class inherits a constructor from Exception

Class Method Details

.new(name = nil) ⇒ Object



151
152
153
154
155
# File 'opal/opal/corelib/error.rb', line 151

def self.new(name = nil)
  message = 'Invalid argument'
  message += " - #{name}" if name
  super(message)
end