How idoes discord.js's error handling work #7489
-
how does discord.js handle errors bc i wanna add error handling to my npm package similar to discord.js's. |
Beta Was this translation helpful? Give feedback.
Answered by
ImRodry
Feb 17, 2022
Replies: 1 comment
-
discord.js's job isn't to handle errors, that responsibility is fully on the user's side by catching promise rejections and other kinds of errors. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Jiralite
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
discord.js's job isn't to handle errors, that responsibility is fully on the user's side by catching promise rejections and other kinds of errors.