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, #to_s

Constructor Details

This class inherits a constructor from Exception

Class Method Details

.new(name = nil) ⇒ Object



106
107
108
109
110
# File 'opal/opal/corelib/error.rb', line 106

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