Revamped error messaging for better styling.