Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions gnocchiclient/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ class ArchivePolicyRuleNotFound(NotFound):
match = re.compile("Archive policy rule .* does not exist")


class AggregationMethodNotFound(NotFound):
message = "Aggregation method not found"
match = re.compile("Aggregation method does not exist for this metric")


class MethodNotAllowed(ClientException):
"""HTTP 405 - Method Not Allowed."""

Expand Down