Lines Matching defs:error
3 /// A `dlerror` error.
12 /// A Windows API error.
27 /// The source error.
30 /// The `dlopen` call failed and system did not report an error.
34 /// The source error.
37 /// The `dlsym` call failed and system did not report an error.
41 /// The source error.
44 /// The `dlclose` call failed and system did not report an error.
48 /// The source error.
51 /// The `LoadLibraryW` call failed and system did not report an error.
55 /// The source error.
58 /// The `GetModuleHandleExW` call failed and system did not report an error.
62 /// The source error.
65 /// The `GetProcAddressUnknown` call failed and system did not report an error.
69 /// The source error.
72 /// The `FreeLibrary` call failed and system did not report an error.
78 /// The source error.
83 /// The source error.
88 impl std::error::Error for Error {
89 fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
107 DlOpenUnknown => write!(f, "dlopen failed, but system did not report the error"),
109 DlSymUnknown => write!(f, "dlsym failed, but system did not report the error"),
111 DlCloseUnknown => write!(f, "dlclose failed, but system did not report the error"),
114 write!(f, "LoadLibraryExW failed, but system did not report the error"),
117 write!(f, "GetModuleHandleExWUnknown failed, but system did not report the error"),
120 write!(f, "GetProcAddress failed, but system did not report the error"),
123 write!(f, "FreeLibrary failed, but system did not report the error"),