Follow coding rule
Return appropriate error status number