Versions in this module Expand all Collapse all v2 v2.7.1 Aug 16, 2026 v2.7.0 Aug 15, 2026 Changes in this version + var ErrBlockedAddress = errors.New("blocked address (SSRF guard)") + var ErrClientHTTPError = errors.New("client HTTP error (4xx)") + var ErrConfigValidation = errors.New("configuration validation error") + var ErrContentSelector = errors.New("content selector not found") + var ErrDatabase = errors.New("database error") + var ErrFilesystem = errors.New("filesystem error") + var ErrMarkdownConversion = errors.New("failed to convert HTML to markdown") + var ErrMaxDepthExceeded = errors.New("maximum crawl depth exceeded") + var ErrNonHTMLContent = errors.New("non-HTML content type") + var ErrOtherHTTPError = errors.New("other HTTP error (non-2xx)") + var ErrParsing = errors.New("parsing error") + var ErrRequestCreation = errors.New("failed to create HTTP request") + var ErrResponseBodyRead = errors.New("failed to read response body") + var ErrRetryFailed = errors.New("request failed after all retries") + var ErrRobotsDisallowed = errors.New("disallowed by robots.txt") + var ErrScopeViolation = errors.New("URL out of scope (domain/prefix/pattern)") + var ErrSemaphoreTimeout = errors.New("timeout acquiring semaphore") + var ErrServerHTTPError = errors.New("server HTTP error (5xx)") + func CalculateFileSHA256(filePath string) (string, error) + func CalculateStringSHA256(content string) string + func CategorizeError(err error) string + func CompileRegexPatterns(patterns []string) ([]*regexp.Regexp, error) + func SanitizeFilename(name string) string Other modules containing this package github.com/Sriram-PR/doc-scraper