Remove deprecation warning
Add http_status to errors