Commit 9a95a24d authored by Adrian Pino's avatar Adrian Pino
Browse files

Update i2edge error to inherit from EdgeCloudPlatform

parent 5d5a47e2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line

class EdgeCloudPlatformError(Exception):
    pass
+2 −1
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ import json
from typing import Optional

import requests
from src.edgecloud.clients.errors import EdgeCloudPlatformError
from pydantic import BaseModel

from src import logger
@@ -20,7 +21,7 @@ from src import logger
log = logger.get_logger(__name__)


class I2EdgeError(Exception):
class I2EdgeError(EdgeCloudPlatformError):
    pass