Is there any convienent and easy to use way out to trigger error codes to check error handling. AEM version 6.5.
Error Codes : 500 , 400, 403
Yes, it is possible please check for reference.
or you can include jsp in sightly which set response code.