Skip to main content
0 votes
1 answer
163 views

For Benthos yaml / pipeline what we developed, we will call http API, to handle the http exception, we can catch the error thru error(), then send to error topic, but it seems that the detailed http ...
user1678165's user avatar
2 votes
1 answer
129 views

I am looking for a function/code that returns the current exception object. In other words, the exception object that represents the exception currently being handled (by the catch block). For example:...
Александр Кулагин's user avatar
2 votes
1 answer
47 views

I have updated my mongodb driver which forces me to use two completion blocks: .then() .catch() instead of a single callback. The consequence of this is that any error in my stack down the line will ...
user1709076's user avatar
  • 2,926
-1 votes
1 answer
77 views

I am following a tutorial about handling errors of fetch() but now it turns to be learning handling errors. This is the code I wrote. I wish to handle all errors inside the outer catch: fetch(...
fall's user avatar
  • 1,212
1 vote
1 answer
266 views

I'm trying to check a number of conditions, and if one of them is true I want to proceed to a certain callback function. Otherwise, I want to proceed to a different callback function. Some pseudocode ...
Daniel Shteinbok's user avatar
1 vote
1 answer
829 views

I try to reproduce logic of C# program on my VB program, all going fine except one future, VB don't allow to reproduce this construction: try { await nextButton[1].ClickAsync(); } catch { ...
Viacheslav Dev's user avatar
0 votes
0 answers
267 views

Javascript in a webbrowser. There is an async event handler. Inside this event handler a try/catch is used. Inside the try block an asynchoronous functions is called synchronously with await. Inside ...
Creech's user avatar
  • 269
0 votes
1 answer
842 views

This piece of code is supposed to loop forever until the user enters the correct answer in a prompt. The right answers are "left" and "right". If the user enters any other text, ...
Jarkko Hietala's user avatar
0 votes
1 answer
69 views

Consider the following method that checks if a parameter contains a valid UUID string and generates a new one if it isn't and if the option is set: def validate_uuid(val, generate): try: ...
bonl's user avatar
  • 603
0 votes
1 answer
95 views

I want to select all catch blocks (in my C# code in visual studio) using regular express search but unable to create a regular expression that selects all catch blocks (including empty blocks and ...
Abdullah's user avatar
0 votes
1 answer
2k views

I've already read tons of resources to try to help me on this. This gist did not solve it for me (https://github.com/github/fetch/issues/203#issuecomment-266034180). It also seemed like this (...
BVBAccelerate's user avatar
2 votes
2 answers
1k views

checkDefault(event) { try { this.defaultCard = event.checked; this.cardInfo.forEach((s) => { if (s.isDefault && event.checked) { const dialog = this....
Naveen kumar's user avatar
0 votes
1 answer
600 views

I have a sequial list of observables is requiring sequencial execution (these are in concat operator but I can remove in forkjoin), but when error is happening I need to stop the sequential results. ...
Tabares's user avatar
  • 4,385
-1 votes
1 answer
996 views

Consider the following code where I tried to shield fetch against any unsuccessful connections (I call them non "200-ish" in the comments) and provide a function that will make use of its ...
WoJ's user avatar
  • 30.8k
0 votes
0 answers
37 views

I'm getting this error while trying to call an async function. This is my code: let result:DiscordServer[] result = await Backendless.Data.of( backendlessDiscordServersTable! ).find<DiscordServer&...
Carlos de la Lama-Noriega's user avatar

15 30 50 per page
1
2 3 4 5
10