Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref: Remove unused reportUserException #4438

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions Sources/SentryCrash/Recording/SentryCrashC.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,34 +139,6 @@ void sentrycrash_setSaveScreenshots(SaveAttachmentCallback callback);
*/
void sentrycrash_setSaveViewHierarchy(SaveAttachmentCallback callback);

/** Report a custom, user defined exception.
* This can be useful when dealing with scripting languages.
*
* If terminateProgram is true, all sentries will be uninstalled and the
* application will terminate with an abort().
*
* @param name The exception name (for namespacing exception types).
*
* @param reason A description of why the exception occurred.
*
* @param language A unique language identifier.
*
* @param lineOfCode A copy of the offending line of code (NULL = ignore).
*
* @param stackTrace JSON encoded array containing stack trace information (one
* frame per array entry). The frame structure can be anything you want,
* including bare strings.
*
* @param logAllThreads If true, suspend all threads and log their state. Note
* that this incurs a performance penalty, so it's best to use only on fatal
* errors.
*
* @param terminateProgram If true, do not return from this function call.
* Terminate the program instead.
*/
void sentrycrash_reportUserException(const char *name, const char *reason, const char *language,
const char *lineOfCode, const char *stackTrace, bool logAllThreads, bool terminateProgram);

#pragma mark-- Notifications --

/** Notify the crash reporter of the application active state.
Expand Down
Loading