Skip to content

Commit 90dec8b

Browse files
committed
chore: upgraded dependencies
1 parent ca10f7a commit 90dec8b

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

constants.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package go_tinygo_errors
22

33
import (
4-
tinygotypes "github.com/ralvarezdev/tinygo-types"
4+
tinygoerrors "github.com/ralvarezdev/tinygo-errors"
55
)
66

77
const (
@@ -22,11 +22,11 @@ const (
2222
)
2323

2424
const (
25-
ErrorCodeBuffersInvalidBufferSize tinygotypes.ErrorCode = ErrorCodeBuffersStartNumber + iota
25+
ErrorCodeBuffersInvalidBufferSize tinygoerrors.ErrorCode = ErrorCodeBuffersStartNumber + iota
2626
)
2727

2828
const (
29-
ErrorCodeBNO08XPacketBufferIndexOutOfRange tinygotypes.ErrorCode = tinygotypes.ErrorCode(iota + ErrorCodeBNO08XStartNumber)
29+
ErrorCodeBNO08XPacketBufferIndexOutOfRange tinygoerrors.ErrorCode = tinygoerrors.ErrorCode(iota + ErrorCodeBNO08XStartNumber)
3030
ErrorCodeBNO08XInvalidChannelNumber
3131
ErrorCodeBNO08XNilPacketReader
3232
ErrorCodeBNO08XNilPacketWriter
@@ -138,11 +138,11 @@ const (
138138
)
139139

140140
const (
141-
ErrorCodePullUpResistorNilHandler = tinygotypes.ErrorCode(iota + ErrorCodePullUpResistorStartNumber)
141+
ErrorCodePullUpResistorNilHandler = tinygoerrors.ErrorCode(iota + ErrorCodePullUpResistorStartNumber)
142142
)
143143

144144
const (
145-
ErrorCodeESCMotorFailedToConfigurePWM tinygotypes.ErrorCode = tinygotypes.ErrorCode(iota + ErrorCodeESCMotorStartNumber)
145+
ErrorCodeESCMotorFailedToConfigurePWM tinygoerrors.ErrorCode = tinygoerrors.ErrorCode(iota + ErrorCodeESCMotorStartNumber)
146146
ErrorCodeESCMotorFailedToInitializeServo
147147
ErrorCodeESCMotorSpeedOutOfRange
148148
ErrorCodeESCMotorSpeedBelowMinPulseWidth
@@ -151,7 +151,7 @@ const (
151151
)
152152

153153
const (
154-
ErrorCodeServoFailedToConfigurePWM tinygotypes.ErrorCode = tinygotypes.ErrorCode(iota + ErrorCodeServoStartNumber)
154+
ErrorCodeServoFailedToConfigurePWM tinygoerrors.ErrorCode = tinygoerrors.ErrorCode(iota + ErrorCodeServoStartNumber)
155155
ErrorCodeServoFailedToInitializeServo
156156
ErrorCodeServoAngleOutOfRange
157157
ErrorCodeServoAngleBelowMinPulseWidth
@@ -162,7 +162,7 @@ const (
162162

163163
var (
164164
// ErrorCodeMessages maps error codes to their corresponding error messages.
165-
ErrorCodeMessages = map[tinygotypes.ErrorCode]string{
165+
ErrorCodeMessages = map[tinygoerrors.ErrorCode]string{
166166
// Buffers errors
167167
ErrorCodeBuffersInvalidBufferSize: "invalid buffer size",
168168

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/ralvarezdev/go-tinygo-errors
22

33
go 1.25.0
44

5-
require github.com/ralvarezdev/tinygo-types v0.0.3
5+
require github.com/ralvarezdev/tinygo-errors v0.0.4

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/ralvarezdev/tinygo-types v0.0.3 h1:h8ogOD2lOVxR+w5i6o+v/8qTROFA2KBjVXBM7NT3SMc=
2-
github.com/ralvarezdev/tinygo-types v0.0.3/go.mod h1:2u3ApwAtIqGZ6wDsmUYt44bIk1DEn06INNjtfWndCr4=
1+
github.com/ralvarezdev/tinygo-errors v0.0.4 h1:nuqApi7tEzPSSf2/3Uqxxizwftvoxczaec9BA95Hcj4=
2+
github.com/ralvarezdev/tinygo-errors v0.0.4/go.mod h1:PlkyrG60saZetwFX1mPhve+9l2pneVH7c8q5w4sxe8M=

0 commit comments

Comments
 (0)