In SharePoint on premises(2016).I have created a custom page layout which got deployed successfully and feature got activated. After that in site while creating the layout with the help of that layout I an getting "Sorry Something Went wrong Error message"
Check the steps from the article below:
How To Create A Page Layout (PageLayout) With ContentType
And get more error message from ULS log, for SharePoint 2016, by default, ULS log locates in "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\LOGS"