Skip to content

Commit f4a02dd

Browse files
committed
feat: added more error codes
1 parent 90dec8b commit f4a02dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

constants.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ const (
135135
ErrorCodeBNO08XNilWaitForPacketFunction
136136
ErrorCodeBNO08XInvalidMode
137137
ErrorCodeBNO08XUnknownModeAttemptingSoftwareReset
138+
ErrorCodeBNO08XUARTRVCInvalidYawDegreesValue
139+
ErrorCodeBNO08XUARTRVCInvalidPitchDegreesValue
140+
ErrorCodeBNO08XUARTRVCInvalidRollDegreesValue
138141
)
139142

140143
const (
@@ -276,6 +279,9 @@ var (
276279
ErrorCodeBNO08XNilWaitForPacketFunction: "bno08x wait for packet function cannot be nil",
277280
ErrorCodeBNO08XInvalidMode: "bno08x invalid mode",
278281
ErrorCodeBNO08XUnknownModeAttemptingSoftwareReset: "bno08x unknown mode attempting software reset",
282+
ErrorCodeBNO08XUARTRVCInvalidYawDegreesValue: "bno08x uart rvc invalid yaw degrees value",
283+
ErrorCodeBNO08XUARTRVCInvalidPitchDegreesValue: "bno08x uart rvc invalid pitch degrees value",
284+
ErrorCodeBNO08XUARTRVCInvalidRollDegreesValue: "bno08x uart rvc invalid roll degrees value",
279285

280286
// Pull-up resistor errors
281287
ErrorCodePullUpResistorNilHandler: "pull-up resistor handler cannot be nil",

0 commit comments

Comments
 (0)