Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
The error message from unused/void parts of the tree should be simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Nov 8, 2022
1 parent 713e306 commit 45270f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CloudFlare/cloudflare.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,27 +572,27 @@ def __str__(self):
def get(self, identifier1=None, identifier2=None, identifier3=None, identifier4=None, params=None, data=None):
""" Cloudflare v4 API"""

raise CloudFlareAPIError(0, 'get() call not available for this endpoint')
raise CloudFlareAPIError(0, 'not found')

def patch(self, identifier1=None, identifier2=None, identifier3=None, identifier4=None, params=None, data=None):
""" Cloudflare v4 API"""

raise CloudFlareAPIError(0, 'patch() call not available for this endpoint')
raise CloudFlareAPIError(0, 'not found')

def post(self, identifier1=None, identifier2=None, identifier3=None, identifier4=None, params=None, data=None, files=None):
""" Cloudflare v4 API"""

raise CloudFlareAPIError(0, 'post() call not available for this endpoint')
raise CloudFlareAPIError(0, 'not found')

def put(self, identifier1=None, identifier2=None, identifier3=None, identifier4=None, params=None, data=None):
""" Cloudflare v4 API"""

raise CloudFlareAPIError(0, 'put() call not available for this endpoint')
raise CloudFlareAPIError(0, 'not found')

def delete(self, identifier1=None, identifier2=None, identifier3=None, identifier4=None, params=None, data=None):
""" Cloudflare v4 API"""

raise CloudFlareAPIError(0, 'delete() call not available for this endpoint')
raise CloudFlareAPIError(0, 'not found')

class _add_no_auth():
""" Cloudflare v4 API"""
Expand Down

0 comments on commit 45270f8

Please sign in to comment.