When I throw return {
status: "GENERAL_ERROR",
message:
"SMS Rate Limit Exceeded. Please try again later (or) Use Whatsapp Number Instead.",
} as any this error from my sendSMS func than I recieve a internal server error response and if I simply return this that I recieve resp with status 200. What is the right way to throw error from sendSMS func and catch ?