• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2025 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef SCSI_DDK_ERR_CODE_H
17 #define SCSI_DDK_ERR_CODE_H
18 
19 namespace OHOS {
20 namespace HDI {
21 namespace Usb {
22 namespace ScsiDdk {
23 namespace V1_0 {
24 
25 enum ScsiPeripheralDdkErrCode {
26     SCSIPERIPHERAL_DDK_NO_PERM = 201,
27     SCSIPERIPHERAL_DDK_INVALID_PARAMETER = 401,
28     SCSIPERIPHERAL_DDK_MEMORY_ERROR = 31700001,
29     SCSIPERIPHERAL_DDK_INVALID_OPERATION = 31700002,
30     SCSIPERIPHERAL_DDK_IO_ERROR = 31700003,
31     SCSIPERIPHERAL_DDK_TIMEOUT = 31700004,
32     SCSIPERIPHERAL_DDK_INIT_ERROR = 31700005,
33     SCSIPERIPHERAL_DDK_SERVICE_ERROR = 31700006,
34     SCSIPERIPHERAL_DDK_DEVICE_NOT_FOUND = 31700007,
35 };
36 
37 } // V1_0
38 } // ScsiDdk
39 } // Usb
40 } // HDI
41 } // OHOS
42 
43 #endif // SCSI_DDK_ERR_CODE_H
44 
45