Converts this exception to a map
@override Map<String, dynamic> toMap() { final map = super.toMap(); map['source'] = source; return map; }