Custom errors handling and styling