Added APIError class to represent comunity api errors.