Skip to main content

ModuleLoadError

This error is raised when the module cannot be loaded, either because it does not exist or because of a syntax error.

Constructors

  • This error is raised when the module cannot be loaded, either because it does not exist or because of a syntax error.

  • Parameters

    • message: string
      • The error message indicating why the module could not be loaded.
  • Initializes the ModuleLoadError with a message.

  • Parameters

    • message: string
      • The error message describing why the module could not be loaded.
  • Return Value: None

    • This method does not return a value.