Skip to content

Commit

Permalink
Fix error message (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg authored Apr 23, 2024
1 parent a00936f commit 90ff4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion write.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (b *Builder) write(sb *strings.Builder, resArgs *[]any, s string, args ...a
isBatch := verb == '#'
s = s[1:]
if len(s) < 1 || s[0] == ' ' {
return fmt.Errorf("%w: '%c' requires additional '$' or '?'", errIncorrectVerb, verb)
return fmt.Errorf("%w: '%c' requires additional '$', '?' or '@'", errIncorrectVerb, verb)
}

switch verb := s[0]; verb {
Expand Down

0 comments on commit 90ff4ef

Please sign in to comment.