Exception: Win32::Pdh::PdhError
- Inherits:
-
StandardError
- Object
- StandardError
- Win32::Pdh::PdhError
- Defined in:
- lib/win32/pdh.rb
Instance Method Summary collapse
-
#initialize(status) ⇒ PdhError
constructor
A new instance of PdhError.
Constructor Details
#initialize(status) ⇒ PdhError
Returns a new instance of PdhError.
8 9 10 |
# File 'lib/win32/pdh.rb', line 8 def initialize(status) super("PDH error #{Constants::NAMES[status]}: #{Constants::MESSAGES[status]}") end |