how would i add an is instance to the on slash command error event for this kind of error?
errors.ExtensionFailed(key, e) from e
disnake.ext.commands.errors.ExtensionFailed: Extension 'cogs.dev' raised an error: ConnectionRefusedError: [WinError 1225] The remote computer refused the network connection
i am trying to find the equivalent of if isinstance(error, commands.errors.CheckFailure): for the above error