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.
27 28 29 30 |
# File 'lib/hwloc/Hwloc.rb', line 27 def initialize(msg = nil) msg = Hwloc.error_string unless msg super( msg ) end |