How to handle the error when passing the wrong document id to document function

Certified Associate Developer



lets say im passing the id as 1 to 1000 range for example , as there is no document with that id it will show error right 

  Discussion posts and replies are publicly visible

Parents Reply Children