Skip to content

Commit 9090a55

Browse files
andiglorenzodonini
authored andcommitted
Implement Error on base receiver
1 parent 41fd37d commit 9090a55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocpp/ocpp.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func NewHandlerError(errorCode ErrorCode, description string) *Error {
5050
return &Error{Code: errorCode, Description: description, MessageId: ""}
5151
}
5252

53-
func (err *Error) Error() string {
53+
func (err Error) Error() string {
5454
return fmt.Sprintf("ocpp message (%s): %v - %v", err.MessageId, err.Code, err.Description)
5555
}
5656

0 commit comments

Comments
 (0)