What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-19 09:24:27
how to use sentry with graphql
didEncounterErrors(ctx) { // If we couldn't parse the operation, don't // do anything here if (!ctx.operation) { return; } for (const err of ctx.errors) { // Only report internal server errors, // all errors extending ApolloError sho... Add solution -
Javascript 2021-10-22 22:59:10
sentry ignore errors
// List of errors you want to ignore Sentry.init({ dsn: "sentry_dsn", ignoreErrors: [ 'TypeError: Failed to fetch', 'TypeError: NetworkError when attempting to fetch resource.', 'TypeError: Cancelled', 'TypeError: cancelado'... Add solution -
Java 2021-10-14 22:23:05
examples of messages formatted using JSON (JavaScript Object Notation).
// examples of messages formatted using JSON (JavaScript Object Notation): { "glossary": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList&qu... Add solution -
Javascript 2021-10-04 10:07:06
password weakness checker
<html> <head> <!-- Bootstrap 5 link --> <link href= "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIca... Add solution -
C++ 2021-09-19 20:21:05
how to get PID by process name c++
#include <Windows.h> #include <iostream> #include <Tlhelp32.h> #include <comdef.h> /*snapshot for all running processes*/ HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPALL, NULL); PROCESSENTRY32 pEntry; /*initializing siz... Add solution -
C++ 2021-08-29 08:28:03
how to get PID by name in c++
#include <Windows.h> #include <iostream> #include <Tlhelp32.h> #include <comdef.h> /*snapshot for all running processes*/ HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPALL, NULL); PROCESSENTRY32 pEntry; /*initializing ... Add solution
Best helpers
Ranking is empty