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