|
1 | 1 | export default { |
2 | | - MANDATORY_INITIALIZATION_MISSING: { message: "Missing urlEndpoint during SDK initialization" }, |
3 | | - INVALID_TRANSFORMATION_POSITION: { message: "Invalid transformationPosition parameter" }, |
4 | | - PRIVATE_KEY_CLIENT_SIDE: { message: "privateKey should not be passed on the client side" }, |
5 | | - MISSING_UPLOAD_DATA: { message: "Missing data for upload" }, |
6 | 2 | MISSING_UPLOAD_FILE_PARAMETER: { message: "Missing file parameter for upload" }, |
7 | 3 | MISSING_UPLOAD_FILENAME_PARAMETER: { message: "Missing fileName parameter for upload" }, |
8 | | - MISSING_AUTHENTICATION_ENDPOINT: { message: "Missing authentication endpoint for upload" }, |
9 | 4 | MISSING_PUBLIC_KEY: { message: "Missing public key for upload" }, |
10 | | - AUTH_ENDPOINT_TIMEOUT: { message: "The authenticationEndpoint you provided timed out in 60 seconds" }, |
11 | | - AUTH_ENDPOINT_NETWORK_ERROR: { message: "Request to authenticationEndpoint failed due to network error" }, |
12 | | - AUTH_INVALID_RESPONSE: { message: "Invalid response from authenticationEndpoint. The SDK expects a JSON response with three fields i.e. signature, token and expire." }, |
13 | 5 | UPLOAD_ENDPOINT_NETWORK_ERROR: { |
14 | 6 | message: "Request to ImageKit upload endpoint failed due to network error" |
15 | 7 | }, |
16 | | - INVALID_UPLOAD_OPTIONS: { message: "Invalid uploadOptions parameter" }, |
17 | 8 | MISSING_SIGNATURE: { message: "Missing signature for upload. The SDK expects token, signature and expire for authentication." }, |
18 | 9 | MISSING_TOKEN: { message: "Missing token for upload. The SDK expects token, signature and expire for authentication." }, |
19 | 10 | MISSING_EXPIRE: { message: "Missing expire for upload. The SDK expects token, signature and expire for authentication." }, |
20 | 11 | INVALID_TRANSFORMATION: { message: "Invalid transformation parameter. Please include at least pre, post, or both." }, |
21 | 12 | INVALID_PRE_TRANSFORMATION: { message: "Invalid pre transformation parameter." }, |
22 | | - INVALID_POST_TRANSFORMATION: { message: "Invalid post transformation parameter." }, |
23 | | - UPLOAD_ABORTED: { message: "Request aborted by the user" }, |
| 13 | + INVALID_POST_TRANSFORMATION: { message: "Invalid post transformation parameter." } |
24 | 14 | }; |
0 commit comments