cancelled static method

SDKException cancelled([
  1. String message = 'Operation cancelled'
])

Common shortcut: cancelled (mirrors Swift SDKException.cancelled).

Implementation

static SDKException cancelled([String message = 'Operation cancelled']) =>
    _build(
      code: pb_enum.ErrorCode.ERROR_CODE_CANCELLED,
      category: pb_enum.ErrorCategory.ERROR_CATEGORY_INTERNAL,
      message: message,
    );