Improved documentation
This commit is contained in:
parent
b72e3943a4
commit
ec20fd3d3a
4 changed files with 12 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue