NextJS best practice for handling "Server Error" and "Client side error" NextJS best practice for handling "Server Error" and "Client side error" reactjs reactjs