downloadFailed static method
Implementation
static SDKException downloadFailed(String url, [Object? error]) => _build(
code: pb_enum.ErrorCode.ERROR_CODE_DOWNLOAD_FAILED,
category: pb_enum.ErrorCategory.ERROR_CATEGORY_NETWORK,
message: error != null
? "Failed to download from '$url': $error"
: "Failed to download from '$url'",
underlyingError: error,
);