Constructor to initialize the exception with a specific message.
const MessageException(super.message, {super.details});