skript-mirror
skript-mirror copied to clipboard
Catching exceptions
I suggest to make a syntax for catching exceptions for example
try TownyMessaging.sendMessage({_p}, {_ex}):
catch NotRegisteredException:
send "A horrible error happened"
but idk
Error handling is already a feature, documentation here.