ActorCallError constructor
Implementation
ActorCallError(
Principal canisterId,
String methodName,
String type, //: 'query' | 'update'
Map<String, String> props,
) : super() {
String e = [
"Call failed:",
" Canister: ${canisterId.toText()}",
" Method: $methodName ($type)",
...(props.entries).map((n) => " '${n.key}': ${jsonEncode(props[n])}"),
].join('\n');
throw e;
}