Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/error-support/src/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 775 B image not shown  

Quelle  errorsupport.udl   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/. */

namespace errorsupport {
    /// Set the global error reporter.  This is typically done early in startup.
    void set_application_error_reporter(ApplicationErrorReporter error_reporter);
    /// Unset the global error reporter.  This is typically done at shutdown for
    /// platforms that want to cleanup references like Desktop.
    void unset_application_error_reporter();
};

callback interface ApplicationErrorReporter {
    void report_error(string type_name, string message);
    void report_breadcrumb(string message, string module, u32 line, u32 column);
};

[ Dauer der Verarbeitung: 0.18 Sekunden  (vorverarbeitet)  ]