Should these errors be returned with an error return code?

e.g. 
raise HttpErrors::BadRequest, _("No file uploaded.")