Improved documentation
This commit is contained in:
@ -7,6 +7,7 @@ type InvalidDirectory struct {
|
||||
Path string
|
||||
}
|
||||
|
||||
// Error implements the text representation.
|
||||
func (err *InvalidDirectory) Error() string {
|
||||
if err.Path == "" {
|
||||
return "Invalid directory"
|
||||
|
Reference in New Issue
Block a user