func parseErrorCode(input string) error {
	if len(input) > 1 && input[0] == '=' {
		code, err := strconv.Atoi(input[1:])
		if err != nil || code < 100 || code > 999 {
			return nil
		}
		return caddyhttp.Error(code, fmt.Errorf("%s", input[1:]))
	}
	return nil
}
// parseErrorCode checks if the input is a status
// code number, prefixed by "=", and returns an
// error if so.
parseErrorCode checks if the input is a status
code number, prefixed by "=", and returns an
error if so.
// parseErrorCode checks if the input is a status // code number prefixed by " = " and returns an // error if so .
func parseErrorCode(input string) error {
	if len(input) > 1 && input[0] == '=' {
		code, err := strconv.Atoi(input[1:])
		if err != nil || code < 100 || code > 999 {
			return nil
		}
		return caddyhttp.Error(code, fmt.Errorf("%s", input[1:]))
	}
	return nil
}
func parseErrorCode ( input string ) error { if len ( input ) > 1 && input [ 0 ] == '=' { code , err := strconv . Atoi ( input [ 1 : ] ) if err != nil || code < 100 || code > 999 { return nil } return caddyhttp . Error ( code , fmt . Errorf ( " " , input [ 1 : ] ) ) } return nil }
parseErrorCode checks if the input is a status
code number, prefixed by "=", and returns an
error if so.
parseErrorCode checks if the input is a status code number prefixed by " = " and returns an error if so .