Exceptions
- exception bTagScript.exceptions.TagScriptError[source]
Bases:
ExceptionBase class for all module errors.
- exception bTagScript.exceptions.WorkloadExceededError[source]
Bases:
TagScriptErrorRaised when the interpreter goes over its passed character limit.
- exception bTagScript.exceptions.ProcessError(error: Exception, response: Response, interpreter: Interpreter)[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 bTagScript.exceptions.EmbedParseError[source]
Bases:
TagScriptErrorRaised if an exception occurs while attempting to parse an embed.
- exception bTagScript.exceptions.BadColourArgument(argument: str)[source]
Bases:
EmbedParseErrorRaised when the passed input fails to convert to
discord.Colour.
- exception bTagScript.exceptions.StopError(message: str)[source]
Bases:
TagScriptErrorRaised by the StopBlock to stop processing.