UpdateCallRejectedError constructor

UpdateCallRejectedError(
  1. Principal canisterId,
  2. String methodName,
  3. SubmitResponse response,
  4. 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!,
        },
      );