No need to define errors, the codes are self explanatory