UpdateCallRejectedError constructor
UpdateCallRejectedError(
- Principal canisterId,
- String methodName,
- SubmitResponse response,
- RequestId requestId,
Implementation
UpdateCallRejectedError(
Principal canisterId,
String methodName,
SubmitResponse response,
RequestId requestId,
) : super(
canisterId,
methodName,
'update',
{
'Request ID': requestIdToHex(requestId),
'HTTP status code': response.response!.status!.toString(),
'HTTP status text': response.response!.statusText!,
},
);