Home / Questions / Other PHP custom exception class कैसे बनाते हैं? production project में safely कैसे use करें? Other 0 Views Verified PHP custom exception class कैसे बनाते हैं? production project में safely कैसे use करें? सही विकल्प चुनें और code/solution को समझें। #php #core php #php programming #php tutorial #php error #php solution #backend #developer Sarkari Result QA Bank Editorially reviewed exam information Share
Verified Correct Answer class ValidationException extends Exception {} class ValidationException extends Exception {} Additional Explanation Custom exception Exception को extend कर सकती है। Production में logging और safe error handling रखें।
Verified class ValidationException inherits ErrorOnly {} class ValidationException inherits ErrorOnly {} Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified exception ValidationException {} exception ValidationException {} Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified class ValidationException exception {} class ValidationException exception {} Additional Explanation यह विकल्प सही Core PHP solution नहीं है।