Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/toolkit/xre/detect_win32k_conflicts/src/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  error.rs   Sprache: unbekannt

 
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

//! Contains the error type for this crate

use thiserror::Error;

/// The error type for this crate
#[derive(Debug, Error)]
pub enum DetectConflictError {
    /// An exploit protection key was not found in the registry
    #[error("exploit protection key missing")]
    ExploitProtectionKeyMissing,
    /// Failed to enumerate the next registry subkey
    #[error("failed to enumerate next registry subkey. code: {0}")]
    RegEnumKeyFailed(u32),
    /// Failed to get a value from the registry
    #[error("failed to get registry value. code: {0}")]
    RegGetValueFailed(u32),
    /// Failed to get the length of a value from the registry
    #[error("failed to get registry value length. code: {0}")]
    RegGetValueLenFailed(u32),
    /// Failed to open a registry key
    #[error("failed to open registry key. code: {0}")]
    RegOpenKeyFailed(u32),
    /// Exploit Protection registry value was too short
    #[error("exploit protection registry value too short")]
    RegValueTooShort,
    /// Failed to query key for subkey length
    #[error("failed to query key for max subkey length. code: {0}")]
    RegQueryInfoKeyFailed(u32),
    /// A registry value had an unsupported type
    #[error("key has unsupported value type: {0}")]
    UnsupportedValueType(u32),
}

[ Dauer der Verarbeitung: 0.21 Sekunden  (vorverarbeitet)  ]