Exception: Errno::EINVAL

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

Class Method Summary collapse

Methods inherited from Exception

#backtrace, #backtrace_locations, #cause, exception, #exception, #full_message, #initialize, #inspect, #message, #set_backtrace, #to_s

Constructor Details

This class inherits a constructor from Exception

Class Method Details

.new(name = nil) ⇒ Object



237
238
239
240
241
# File 'opal/opal/corelib/error.rb', line 237

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