12 Replies
Unknown Userβ’3y ago
Message Not Public
Sign In & Join Server To View
when your code inside it throws an error?
js error ? or db error ?
js error
or pasrseInt?
parseInt error?
parseInt probably won't throw an error
it'll just return isNaN
not good
Like
how to make this code throw an error
if there is no DB success
when you say db success what do you mean?
I mean get valid results
Actual rows
not empty result [] or {}
that's not an error
that's just there's nothing that matches
it's a valid end state
so you'd just need to check if that's the value yourself
Ok thx
This thread hasnβt had any activity in 12 hours, so itβs now locked.
Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/999417183635525773