Skip to content

Commit

Permalink
minor: added NilServiceError
Browse files Browse the repository at this point in the history
  • Loading branch information
ralvarezdev committed Dec 23, 2024
1 parent 72ccb2a commit 9a0f514
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions structs/mapper/service/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
var (
ValidationsError = "validations error: %v"
FailedToGenerateMessageError = errors.New("failed to generate message")
NilValidatorError = errors.New("validator cannot be nil")
NilMessageError = errors.New("message cannot be nil")
NilServiceError = errors.New("validator service cannot be nil")
NilValidationsError = errors.New("validations cannot be nil")
)

0 comments on commit 9a0f514

Please sign in to comment.