custom errors switched on