Removed APIError class.