Added `error` method and improved CSS