/ internal / utilities / errors.go
errors.go
 1  package utilities
 2  
 3  type UnspecifiedProgramError struct{}
 4  
 5  func (e UnspecifiedProgramError) Error() string {
 6  	return "the program to view these files is unspecified"
 7  }
 8  
 9  type UnspecifiedBrowserError struct{}
10  
11  func (e UnspecifiedBrowserError) Error() string {
12  	return "the browser to view this link is not specified"
13  }