mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Use ProviderException as the base for all provider exception classes
This commit is contained in:
@@ -13,10 +13,11 @@ from time import sleep
|
||||
from urllib.parse import urlsplit
|
||||
|
||||
from ..record import Record, Update
|
||||
from . import ProviderException
|
||||
from .base import BaseProvider
|
||||
|
||||
|
||||
class CloudflareError(Exception):
|
||||
class CloudflareError(ProviderException):
|
||||
def __init__(self, data):
|
||||
try:
|
||||
message = data['errors'][0]['message']
|
||||
|
||||
Reference in New Issue
Block a user