mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-12-15 15:02:32 +00:00
f197607dad
* deps: update dependency hcloud to v1.26.0 * feat: upgrade vendored files --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jo <ljonas@riseup.net>
12 lines
364 B
Python
12 lines
364 B
Python
class HCloudException(Exception):
|
|
"""There was an error while using the hcloud library"""
|
|
|
|
|
|
class APIException(HCloudException):
|
|
"""There was an error while performing an API Request"""
|
|
|
|
def __init__(self, code, message, details):
|
|
super().__init__(message)
|
|
self.code = code
|
|
self.message = message
|
|
self.details = details
|