ComponentNotInitializedException constructor

ComponentNotInitializedException({
  1. required String component,
  2. Object? cause,
  3. StackTrace? stack,
  4. Map<String, dynamic> metadata = const {},
  5. bool isReportable = true,
})

Creates an exception indicating the referenced component has not been initialized.

Implementation

ComponentNotInitializedException({
  required super.component,
  super.cause,
  super.stack,
  super.metadata,
  super.isReportable,
}) : super(
        userMessage: 'Application setup is incomplete.',
        devMessage: '$component is not initialized.',
      );