Exception: Hwloc::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Hwloc::Error
- Defined in:
- lib/hwloc/Hwloc.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg = nil) ⇒ Error
Returns a new instance of Error.
23 24 25 26 |
# File 'lib/hwloc/Hwloc.rb', line 23 def initialize(msg = nil) msg = Hwloc.error_string unless msg super( msg ) end |