Custom errors management.