Made error messages more friendly