• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# zlib Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](errorcode-universal.md).
6
7## 900001 Invalid Source File
8
9**Error Message**
10
11The input source file is invalid.
12
13**Description**
14
15This error code is reported when the source file passed in the **compress** or **decompress** API is invalid.
16
17**Possible Causes**
18
19When the **compress** API is called, the file to compress does not exist. When the **decompress** API is called, the file to decompress does not exist.
20
21**Solution**
22
231. Make sure the source file exists.
242. Make sure the path of the source file exists and the path is the correct sandbox path.
25
26## 900002 Invalid Destination File
27
28**Error Message**
29
30The input destination file is invalid.
31
32**Description**
33
34This error code is reported when the destination file passed in the **compress** or **decompress** API is invalid.
35
36**Possible Causes**
37
381. When the **compress** API is called, the passed destination file path is invalid, for example, a non-exist sandbox path.
392. When the **decompress** API is called, the destination folder does not exist.
40
41**Solution**
42
431. Check whether the destination file path is correct. If not, enter the correct sandbox path.
442. Check whether the destination folder exists. If not, create the folder.
45