Add error message templates to error.go
@@ -42,6 +42,8 @@ const (
DividedByZero = "Divided by 0"
ChannelIsClosed = "The channel is already closed."
TooSmallIndexValue = "Index value %d too small for array. minimum: %d"
+ IndexOutOfRange = "Index value out of range. got: %v"
+ RegexpFailure = "Replacement failure with the Regexp. got: %s"
NegativeValue = "Expect argument to be positive value. got: %d"
NegativeSecondValue = "Expect second argument to be positive value. got: %d"
UndefinedMethod = "Undefined Method '%+v' for %+v"
