You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return`Shop (${params?.shop}) not found in any of the Early Access enabled organizations you have access to.`
64
+
return`Shop "${params?.shop}" not found in any of the Early Access enabled organizations you have access to.`
65
65
caseErrorCodes.FILE_NOT_FOUND:
66
-
return`File not found: ${params?.filePath}`
66
+
return`File "${params?.filePath}" not found.`
67
67
caseErrorCodes.INVALID_FILE_FORMAT:
68
68
returnparams?.filePath
69
-
? `File does not appear to be a valid SQLite database: ${params.filePath}`
69
+
? `File "${params.filePath}" does not appear to be a valid SQLite database.`
70
70
: 'Invalid file format'
71
71
caseErrorCodes.SAME_SHOP:
72
72
return'Source and target shops must not be the same.'
73
73
caseErrorCodes.DIFFERENT_ORG:
74
74
return'Source and target shops must be in the same organization.'
75
75
caseErrorCodes.FILE_TOO_LARGE:
76
-
return`File is too large (${params?.sizeGB}GB). Maximum size is 5GB.`
76
+
return`File "${params?.filePath}" (${params?.fileSize}) exceeds maximum size of ${params?.maxSize}.`
77
77
caseErrorCodes.EMPTY_FILE:
78
-
return`File is empty: ${params?.filePath}`
78
+
return`File "${params?.filePath}" is empty.`
79
79
caseErrorCodes.NOT_A_FILE:
80
-
return`Path is not a file: ${params?.filePath}`
80
+
return`Path "${params?.filePath}" is not a file.`
81
81
caseErrorCodes.INVALID_KEY_FORMAT:
82
82
return`Key format "${params?.key}" is invalid.\nBuilt-in fields can be specified as <object_type>:<key>\n\nID metafields can be used as key by specifying\n<object_type>:metafield:<metafield_namespace>:<metafield_key>.`
0 commit comments