Last DiSky Exception (Expression) — DiSky

Addon: DiSky · Category: Expression · Since: 4.0.0

Syntax

[the] last (disky|discord) (error|exception)

Description

Return the last occurred DiSky or Discord exception in the current event. This expression is event-based, means you cannot get the last error that happened on another event. Once this has been called, it will remove the returned value from the errors list to avoid having two times the same error message.

Examples

if last disky exception is set: # an error occurred

View source