home/roleplay/prompt-decorators-core-exceptions

Prompt Decorators.core.exceptions

GPTClaudeGemini··522 copies·updated 2026-07-14
prompt-decorators-core-exceptions.prompt
# exceptions

Exceptions for the prompt-decorators package.

This module defines custom exceptions used throughout the package.

## Classes

### `IncompatibleVersionError`

Raised when a decorator version is incompatible.

This exception is raised when attempting to use a decorator with a version
that is not compatible with the current version of the package.

**Bases:** `builtins.Exception`

### `RegistryError`

Raised when there is an error with the decorator registry.

This exception is raised when there is an issue with registering or
retrieving decorators from the registry.

**Bases:** `builtins.Exception`

when to use it

Community prompt sourced from the open-source GitHub repo synaptiai/prompt-decorators (Apache-2.0). A "Prompt Decorators.core.exceptions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

synaptiai/prompt-decorators · Apache-2.0