Skip to content

Commit d482e73

Browse files
committed
Update references to Exceptions
1 parent 7ed9d86 commit d482e73

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

twitchio/ext/commands/bot.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -516,10 +516,11 @@ async def load_module(self, name: str, *, package: str | None = None) -> None:
516516
ModuleAlreadyLoadedError
517517
The module is already loaded.
518518
ModuleNotFoundError
519-
The module could not be imported. Also raised if module could not be resolved using the `package` parameter.
519+
The module could not be imported.
520+
Also raised if module could not be resolved using the `package` parameter.
520521
ModuleLoadFailure
521522
There was an error loading the module.
522-
NoModuleEntryPoint
523+
NoEntryPointError
523524
The module does not have a setup coroutine.
524525
TypeError
525526
The module's setup function is not a coroutine.
@@ -626,10 +627,11 @@ async def reload_module(self, name: str, *, package: str | None = None) -> None:
626627
ModuleNotLoaded
627628
The module was not loaded.
628629
ModuleNotFoundError
629-
The module could not be imported. Also raised if module could not be resolved using the `package` parameter.
630+
The module could not be imported.
631+
Also raised if module could not be resolved using the `package` parameter.
630632
ModuleLoadFailure
631633
There was an error loading the module.
632-
NoModuleEntryPoint
634+
NoEntryPointError
633635
The module does not have a setup coroutine.
634636
TypeError
635637
The module's setup function is not a coroutine.

0 commit comments

Comments
 (0)