class Win32::Pdh::PdhError
Simple error subclass. Currently, this is what type all exceptions directly raised by this library are.
Public Class Methods
new(status)
click to toggle source
Calls superclass method
# File lib/win32/pdh.rb, line 11 def initialize(status) super("PDH error #{Constants::NAMES[status]}: #{Constants::MESSAGES[status]}") end