[][src]Type Definition comedy::error::Win32Error

type Win32Error = ErrorAndSource<Win32ErrorInner>;

A Win32 error code, usually from GetLastError().

Includes optional function name, source file name, and line number. See ErrorAndSource for additional methods.

Methods

impl Win32Error[src]

pub fn new(code: DWORD) -> Self[src]

Create from an error code.

pub fn get_last_error() -> Self[src]

Create from GetLastError()