mirror of
				https://github.com/bestnite/sub2clash.git
				synced 2025-11-03 20:30:35 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			420 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			420 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package parser
 | 
						|
 | 
						|
type ParseErrorType string
 | 
						|
 | 
						|
const (
 | 
						|
	ErrInvalidPrefix     ParseErrorType = "invalid url prefix"
 | 
						|
	ErrInvalidStruct     ParseErrorType = "invalid struct"
 | 
						|
	ErrInvalidPort       ParseErrorType = "invalid port number"
 | 
						|
	ErrCannotParseParams ParseErrorType = "cannot parse query parameters"
 | 
						|
	ErrInvalidBase64     ParseErrorType = "invalid base64"
 | 
						|
)
 | 
						|
 | 
						|
func (e ParseErrorType) Error() string {
 | 
						|
	return string(e)
 | 
						|
}
 |