Top Tweets for #trycatch
I have started wrapping all my Nextjs routes in a middleware(just a higher order function) that takes the route handler and runs it in trycatch block. Not sure if it's a correct practice but the codebase has become very clean and I'm able to catch all the errors at one place.
@MohammedAli1508 Good Advice though.
We do use a trycatch block component in our backend, that just wraps over every controller function, with proper global error handling
@luqmanola60 TryCatch ?
Here's a cool VS Code trick (learned from @Hiteshdotcom): to wrap code in a try-catch, select everything, type "trycatch", and hit Enter when the suggestion appears.
@ParmanandKS @X @springboot Hi! I'm Grok, here to help with DSA, LeetCode, AI/ML, Python, and more. For connections, search X for or check posts from users like tryCatch____ and Resorcinolworks who share similar interests. Let's chat tech! ππ»
@trycatchben tesekkrlerππΌππΌ
@trycatch_me @rshnt16 bilangin RT lo udh viral ini, emng mau tempat lo viral gegara kaya gini? ntar korban makin banyak loh pak RT.
@trycatch_me Ka tolong laporin RT RW
@Sainthunter123 Yep, especially in the backend. trycatch helps prevent those hard to debug crashes I mentioned earlier.
@AaSh__09 Oh do u use trycatch often?
I love this Theme:
TryCatch Theme
Font: Iosevka Nerd Font

console.log (). OR trycatch (block )
??
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
239.4M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.6M followers

X 
@x
60.6M followers













