MCPcopy Create free account
hub / github.com/Haidra-Org/AI-Horde / __init__

Method __init__

horde/exceptions.py:331–337  ·  view source on GitHub ↗
(self, subject, keytype="API", rc="InvalidAPIKey")

Source from the content-addressed store, hash-verified

329
330
331class ProcGenNotFound(wze.BadRequest):
332 def __init__(self, procgen_id, rc="ProcGenNotFound"):
333 self.specific = f"Image with ID '{procgen_id}' not found in this request."
334 self.log = f"Attempted to log aesthetic rating with non-existent image ID '{procgen_id}'"
335 self.rc = rc
336
337
338class InvalidAestheticAttempt(wze.BadRequest):
339 def __init__(self, message, rc="InvalidAestheticAttempt"):
340 self.specific = message

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected