Constructor to initialize the exception with a specific message.
const MessageException(String message, {Map<String, dynamic>? details}) : super(message, details: details);