Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
16 lines (12 sloc) 323 Bytes
package refactoring
import "errors"
type (
ErrInvalidArgs error
ErrInvalidSelection error
)
func errInvalidArgs(reason string) ErrInvalidArgs {
return errors.New("invalid arguments: " + reason)
}
func errInvalidSelection(reason string) ErrInvalidSelection {
return errors.New("invalid selection: " + reason)
}
You can’t perform that action at this time.