siva nathan

siva nathan

  • 859
  • 819
  • 218.5k

pass server side errors to client side typescript using vs code

Dec 15 2020 8:00 AM
Hi All,
 
am having a class with businesslogic validate the input paramerters if true save the data else return the error msg to client side typescript and show an alert
 
ex:
name already exists in DB need to show particular error msg to angular alert  Data already exists using vs code async and await 

Answers (2)