File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 4
4
* Created Date: 02/05/2022
5
5
* Author: Shun Suzuki
6
6
* -----
7
- * Last Modified: 30/12/2023
7
+ * Last Modified: 01/01/2024
8
8
* Modified By: Shun Suzuki (suzuki@hapis.k.u-tokyo.ac.jp)
9
9
* -----
10
10
* Copyright (c) 2022-2023 Shun Suzuki. All rights reserved.
@@ -106,6 +106,10 @@ pub enum AUTDInternalError {
106
106
FrequencyDivisionTooSmall ,
107
107
#[ error( "Completion steps is too large" ) ]
108
108
CompletionStepsTooLarge ,
109
+ #[ error( "Invalid info type" ) ]
110
+ InvalidInfoType ,
111
+ #[ error( "Invalid GainSTM mode" ) ]
112
+ InvalidGainSTMMode ,
109
113
}
110
114
111
115
impl AUTDInternalError {
@@ -115,6 +119,8 @@ impl AUTDInternalError {
115
119
0x81 => AUTDInternalError :: InvalidMessageID ,
116
120
0x82 => AUTDInternalError :: FrequencyDivisionTooSmall ,
117
121
0x83 => AUTDInternalError :: CompletionStepsTooLarge ,
122
+ 0x84 => AUTDInternalError :: InvalidInfoType ,
123
+ 0x85 => AUTDInternalError :: InvalidGainSTMMode ,
118
124
_ => unreachable ! ( ) ,
119
125
}
120
126
}
You can’t perform that action at this time.
0 commit comments