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