10 lines
125 B
Go

package CustomError
type CustomError struct {
Message string
}
func (e *CustomError) Error() string {
return e.Message
}