Exceptions
- exception ya_tagscript.exceptions.BadColourArgument(argument: str)[source]
Bases:
EmbedParseErrorRaised when the passed input fails to convert to
discord.Colour.
- exception ya_tagscript.exceptions.CooldownExceeded(message: str, cooldown: Cooldown, key: str, retry_after: float)[source]
Bases:
StopErrorRaised by the cooldown block when a cooldown is exceeded.
- cooldown
The cooldown bucket with information on the cooldown.
- exception ya_tagscript.exceptions.EmbedParseError[source]
Bases:
TagScriptErrorRaised if an exception occurs while attempting to parse an embed.
- exception ya_tagscript.exceptions.ProcessError(error: Exception, response: Response, interpreter: InterpreterABC)[source]
Bases:
TagScriptErrorRaised when an exception occurs during interpreter processing.
- response
The incomplete response that was being processed when the exception occurred.
- Type:
- interpreter
The interpreter used for processing.
- Type:
- exception ya_tagscript.exceptions.StopError(message: str)[source]
Bases:
TagScriptErrorRaised by the StopBlock to stop processing.
- exception ya_tagscript.exceptions.TagScriptError[source]
Bases:
ExceptionBase class for all module errors.
- exception ya_tagscript.exceptions.WorkloadExceededError[source]
Bases:
TagScriptErrorRaised when the interpreter goes over the provided character limit.