GenericException constructor

const GenericException(
  1. String message, {
  2. Map<String, dynamic>? details,
})

Constructor to initialize the exception with a specific message.

Implementation

const GenericException(super.message, {super.details});