Raise CiviCRM::StandardError when Civi returns an error