class Win32::Resolv::Error - Documentation for Ruby 4.1
Description: class Win32::Resolv::Error: Error at Win32 API
Keywords: ruby,class,Win32::Resolv::Error

🔍

No recent searches

# class Win32::Resolv::Error

`Error` at `Win32` API

### Attributes

code [R]

`Win32` error code

### Public Class Methods

new (code, message)
Source

    # File ext/win32/lib/win32/resolv.rb, line 16
    def initialize(code, message)
      super(message)
      @code = code
    end

`code` `Win32` `Error` code `message` Formatted message for `code`

Calls superclass method `Exception::new`