12 lines
231 B
Go
12 lines
231 B
Go
package errors
|
|
|
|
type ErrorCouldNotGetTree struct{}
|
|
|
|
func (e ErrorCouldNotGetTree) Error() string {
|
|
return "could not get repository tree"
|
|
}
|
|
|
|
func NewErrorCouldNotGetTree() *ErrorCouldNotGetTree {
|
|
return &ErrorCouldNotGetTree{}
|
|
}
|