module FFI::LastError

Constants

Errnos

Public Class Methods

exception() click to toggle source
# File lib/rbtrace/core_ext.rb, line 11
def self.exception
  Errnos[error]
end
raise(msg=nil) click to toggle source
# File lib/rbtrace/core_ext.rb, line 14
def self.raise(msg=nil)
  Kernel.raise exception, msg
end